Skip to content

Commit 4c5ae78

Browse files
authored
Fix parameter name in docstring (#8605)
1 parent 9e78fe2 commit 4c5ae78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/moving_mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
def __getitem__(self, idx: int) -> torch.Tensor:
6767
"""
6868
Args:
69-
index (int): Index
69+
idx (int): Index
7070
Returns:
7171
torch.Tensor: Video frames (torch Tensor[T, C, H, W]). The `T` is the number of frames.
7272
"""

0 commit comments

Comments
 (0)