Skip to content

Commit

Permalink
Fix typo at permutate_channels (#8429)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknewsom authored May 20, 2024
1 parent 947ae1d commit 8b6c5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/transforms/v2/functional/_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ def permute_channels(inpt: torch.Tensor, permutation: List[int]) -> torch.Tensor
Example:
>>> rgb_image = torch.rand(3, 256, 256)
>>> bgr_image = F.permutate_channels(rgb_image, permutation=[2, 1, 0])
>>> bgr_image = F.permute_channels(rgb_image, permutation=[2, 1, 0])
Args:
permutation (List[int]): Valid permutation of the input channel indices. The index of the element determines the
Expand Down

0 comments on commit 8b6c5e7

Please sign in to comment.