Skip to content

Commit f8e89fb

Browse files
alykhantejanisoumith
authored andcommitted
fix docs for torch.nn.functional.conv1d (pytorch#536)
1 parent 30d2080 commit f8e89fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/nn/functional.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def conv1d(input, weight, bias=None, stride=1, padding=0, dilation=1,
5353
Examples:
5454
>>> filters = autograd.Variable(torch.randn(33, 16, 3))
5555
>>> inputs = autograd.Variable(torch.randn(20, 16, 50))
56-
>>> F.conv1d(inputs)
56+
>>> F.conv1d(inputs, filters)
5757
"""
5858
f = ConvNd(_single(stride), _single(padding), _single(dilation), False,
5959
_single(0), groups)

0 commit comments

Comments
 (0)