Skip to content

Commit

Permalink
Fix parameter name in docstring (#8605)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 authored Aug 27, 2024
1 parent 9e78fe2 commit 4c5ae78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/datasets/moving_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(
def __getitem__(self, idx: int) -> torch.Tensor:
"""
Args:
index (int): Index
idx (int): Index
Returns:
torch.Tensor: Video frames (torch Tensor[T, C, H, W]). The `T` is the number of frames.
"""
Expand Down

0 comments on commit 4c5ae78

Please sign in to comment.