Unverified Commit a0b44d70 authored by Shengwei An's avatar Shengwei An Committed by GitHub
Browse files

Change 'range' in docstrings of make_grid to 'value_range' (#3967)

parent 6e5a83fb
...@@ -30,7 +30,7 @@ def make_grid( ...@@ -30,7 +30,7 @@ def make_grid(
The final grid size is ``(B / nrow, nrow)``. Default: ``8``. The final grid size is ``(B / nrow, nrow)``. Default: ``8``.
padding (int, optional): amount of padding. Default: ``2``. padding (int, optional): amount of padding. Default: ``2``.
normalize (bool, optional): If True, shift the image to the range (0, 1), 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, 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 then these numbers are used to normalize the image. By default, min and max
are computed from the tensor. are computed from the tensor.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment