Skip to content

Commit

Permalink
Use brackets instead of parenthesis for interval
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Jan 9, 2025
1 parent d3beb52 commit 3f92cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/transforms/v2/_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ class RandomRotation(Transform):
Args:
degrees (sequence or number): Range of degrees to select from.
If degrees is a number instead of sequence like (min, max), the range of degrees
will be (-degrees, +degrees).
will be [-degrees, +degrees].
interpolation (InterpolationMode, optional): Desired interpolation enum defined by
:class:`torchvision.transforms.InterpolationMode`. Default is ``InterpolationMode.NEAREST``.
If input is Tensor, only ``InterpolationMode.NEAREST``, ``InterpolationMode.BILINEAR`` are supported.
Expand Down

0 comments on commit 3f92cf2

Please sign in to comment.