Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
3554d80e
Unverified
Commit
3554d80e
authored
Aug 17, 2023
by
vfdev
Committed by
GitHub
Aug 17, 2023
Browse files
Fixed few typos in docs for type conversion transforms (#7845)
parent
ba7ce61e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torchvision/transforms/v2/_type_conversion.py
torchvision/transforms/v2/_type_conversion.py
+2
-2
No files found.
torchvision/transforms/v2/_type_conversion.py
View file @
3554d80e
...
@@ -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:: ToImage
Tensor
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:: ToImage
PIL
transform
.. v2betastatus:: To
PIL
Image transform
This transform does not support torchscript.
This transform does not support torchscript.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment