We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf354e commit fd0e28eCopy full SHA for fd0e28e
torchvision/transforms/v2/functional/_color.py
@@ -66,7 +66,7 @@ def _rgb_to_grayscale_image_pil(image: PIL.Image.Image, num_output_channels: int
66
67
68
def grayscale_to_rgb(inpt: torch.Tensor) -> torch.Tensor:
69
- """See :class:`~torchvision.transforms.v2.GrayscaleToRgb` for details."""
+ """See :class:`~torchvision.transforms.v2.RGB` for details."""
70
if torch.jit.is_scripting():
71
return grayscale_to_rgb_image(inpt)
72
0 commit comments