Unverified Commit 3554d80e authored by vfdev's avatar vfdev Committed by GitHub
Browse files

Fixed few typos in docs for type conversion transforms (#7845)

parent ba7ce61e
...@@ -30,7 +30,7 @@ class ToImage(Transform): ...@@ -30,7 +30,7 @@ class ToImage(Transform):
"""[BETA] Convert a tensor, ndarray, or PIL Image to :class:`~torchvision.datapoints.Image` """[BETA] Convert a tensor, ndarray, or PIL Image to :class:`~torchvision.datapoints.Image`
; this does not scale values. ; this does not scale values.
.. v2betastatus:: ToImageTensor transform .. v2betastatus:: ToImage transform
This transform does not support torchscript. This transform does not support torchscript.
""" """
...@@ -46,7 +46,7 @@ class ToImage(Transform): ...@@ -46,7 +46,7 @@ class ToImage(Transform):
class ToPILImage(Transform): class ToPILImage(Transform):
"""[BETA] Convert a tensor or an ndarray to PIL Image - this does not scale values. """[BETA] Convert a tensor or an ndarray to PIL Image - this does not scale values.
.. v2betastatus:: ToImagePIL transform .. v2betastatus:: ToPILImage transform
This transform does not support torchscript. This transform does not support torchscript.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment