We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a9f2d commit b6770a7Copy full SHA for b6770a7
torchvision/io/image.py
@@ -259,7 +259,7 @@ def read_image(
259
The values of the output tensor are uint8 in [0, 255].
260
261
Args:
262
- 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.
263
mode (ImageReadMode): the read mode used for optionally converting the image.
264
Default: ``ImageReadMode.UNCHANGED``.
265
See ``ImageReadMode`` class for more information on various
0 commit comments