Skip to content

Commit 30baba7

Browse files
alykhantejanisoumith
authored andcommitted
fix typo in docstring
1 parent 51385b3 commit 30baba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/nn/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ def affine_grid(theta, size):
10081008
Args:
10091009
theta (Variable): input batch of affine matrices (N x 2 x 3)
10101010
size (torch.Size): the target output image size (N x C x H x W)
1011-
Example: torch.Size(32, 3, 24, 24)
1011+
Example: torch.Size((32, 3, 24, 24))
10121012
10131013
Returns:
10141014
output (Variable): output Tensor of size (N x H x W x 2)

0 commit comments

Comments
 (0)