Skip to content

Commit c9692eb

Browse files
committed
fix typo
1 parent 947ae1d commit c9692eb

File tree

1 file changed

+1
-1
lines changed
  • torchvision/transforms/v2/functional

1 file changed

+1
-1
lines changed

torchvision/transforms/v2/functional/_color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ def permute_channels(inpt: torch.Tensor, permutation: List[int]) -> torch.Tensor
687687
688688
Example:
689689
>>> rgb_image = torch.rand(3, 256, 256)
690-
>>> bgr_image = F.permutate_channels(rgb_image, permutation=[2, 1, 0])
690+
>>> bgr_image = F.permute_channels(rgb_image, permutation=[2, 1, 0])
691691
692692
Args:
693693
permutation (List[int]): Valid permutation of the input channel indices. The index of the element determines the

0 commit comments

Comments
 (0)