Skip to content

Commit

Permalink
Change 'range' in docstrings of make_grid to 'value_range' (#3967)
Browse files Browse the repository at this point in the history
  • Loading branch information
njuaplusplus authored Jun 4, 2021
1 parent 6e5a83f commit a0b44d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def make_grid(
The final grid size is ``(B / nrow, nrow)``. Default: ``8``.
padding (int, optional): amount of padding. Default: ``2``.
normalize (bool, optional): If True, shift the image to the range (0, 1),
by the min and max values specified by :attr:`range`. Default: ``False``.
by the min and max values specified by ``value_range``. Default: ``False``.
value_range (tuple, optional): tuple (min, max) where min and max are numbers,
then these numbers are used to normalize the image. By default, min and max
are computed from the tensor.
Expand Down

0 comments on commit a0b44d7

Please sign in to comment.