Skip to content

Commit

Permalink
fix doc of read_image (#8469)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Jun 6, 2024
1 parent a8a9f2d commit b6770a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/io/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6770a7

Please sign in to comment.