Skip to content

Commit

Permalink
Fix spelling mistakes: dimenions -> dimensions (pytorch#3061)
Browse files Browse the repository at this point in the history
* Fix spelling: dimenions -> dimensions

* Fix spelling mistake: dimenions -> dimensions
  • Loading branch information
ProGamerGov authored and vfdev-5 committed Dec 4, 2020
1 parent d2b7cfa commit db66855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion torchvision/transforms/_functional_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def center_crop(clip, crop_size):
def to_tensor(clip):
"""
Convert tensor data type from uint8 to float, divide value by 255.0 and
permute the dimenions of clip tensor
permute the dimensions of clip tensor
Args:
clip (torch.tensor, dtype=torch.uint8): Size is (T, H, W, C)
Return:
Expand Down
2 changes: 1 addition & 1 deletion torchvision/transforms/_transforms_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def __repr__(self):
class ToTensorVideo(object):
"""
Convert tensor data type from uint8 to float, divide value by 255.0 and
permute the dimenions of clip tensor
permute the dimensions of clip tensor
"""

def __init__(self):
Expand Down

0 comments on commit db66855

Please sign in to comment.