Skip to content

Commit b6770a7

Browse files
authored
fix doc of read_image (#8469)
1 parent a8a9f2d commit b6770a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/io/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def read_image(
259259
The values of the output tensor are uint8 in [0, 255].
260260
261261
Args:
262-
path (str or ``pathlib.Path``): path of the JPEG or PNG image.
262+
path (str or ``pathlib.Path``): path of the JPEG, PNG or GIF image.
263263
mode (ImageReadMode): the read mode used for optionally converting the image.
264264
Default: ``ImageReadMode.UNCHANGED``.
265265
See ``ImageReadMode`` class for more information on various

0 commit comments

Comments
 (0)