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
b6770a7e
Unverified
Commit
b6770a7e
authored
Jun 06, 2024
by
Fangjun Kuang
Committed by
GitHub
Jun 06, 2024
Browse files
fix doc of read_image (#8469)
parent
a8a9f2d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/io/image.py
torchvision/io/image.py
+1
-1
No files found.
torchvision/io/image.py
View file @
b6770a7e
...
...
@@ -259,7 +259,7 @@ def read_image(
The values of the output tensor are uint8 in [0, 255].
Args:
path (str or ``pathlib.Path``): path of the JPEG or
PNG
image.
path (str or ``pathlib.Path``): path of the JPEG
, PNG
or
GIF
image.
mode (ImageReadMode): the read mode used for optionally converting the image.
Default: ``ImageReadMode.UNCHANGED``.
See ``ImageReadMode`` class for more information on various
...
...
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