We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5dc1ba + 3554d80 commit d4bd9d9Copy full SHA for d4bd9d9
torchvision/transforms/v2/_type_conversion.py
@@ -30,7 +30,7 @@ class ToImage(Transform):
30
"""[BETA] Convert a tensor, ndarray, or PIL Image to :class:`~torchvision.datapoints.Image`
31
; this does not scale values.
32
33
- .. v2betastatus:: ToImageTensor transform
+ .. v2betastatus:: ToImage transform
34
35
This transform does not support torchscript.
36
"""
@@ -46,7 +46,7 @@ def _transform(
46
class ToPILImage(Transform):
47
"""[BETA] Convert a tensor or an ndarray to PIL Image - this does not scale values.
48
49
- .. v2betastatus:: ToImagePIL transform
+ .. v2betastatus:: ToPILImage transform
50
51
52
0 commit comments