We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc228b2 commit c1b09cdCopy full SHA for c1b09cd
torch/nn/modules/linear.py
@@ -84,7 +84,7 @@ class Bilinear(Module):
84
85
>>> m = nn.Bilinear(20, 30, 40)
86
>>> input1 = autograd.Variable(torch.randn(128, 20))
87
- >>> input1 = autograd.Variable(torch.randn(128, 30))
+ >>> input2 = autograd.Variable(torch.randn(128, 30))
88
>>> output = m(input1, input2)
89
>>> print(output.size())
90
"""
0 commit comments