Skip to content

Commit

Permalink
Merge branch 'main' into port/lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Oct 3, 2023
2 parents 75cd4c7 + b6189a8 commit bddfb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/transforms/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ def rgb_to_grayscale(img: Tensor, num_output_channels: int = 1) -> Tensor:
Note:
Please, note that this method supports only RGB images as input. For inputs in other color spaces,
please, consider using meth:`~torchvision.transforms.functional.to_grayscale` with PIL Image.
please, consider using :meth:`~torchvision.transforms.functional.to_grayscale` with PIL Image.
Args:
img (PIL Image or Tensor): RGB Image to be converted to grayscale.
Expand Down

0 comments on commit bddfb87

Please sign in to comment.