We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5761a6a commit 28ee0f1Copy full SHA for 28ee0f1
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