We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6365aba commit 9ece531Copy full SHA for 9ece531
torchvision/transforms/v2/_geometry.py
@@ -583,7 +583,7 @@ class RandomRotation(Transform):
583
Args:
584
degrees (sequence or number): Range of degrees to select from.
585
If degrees is a number instead of sequence like (min, max), the range of degrees
586
- will be [-degrees, +degrees].
+ will be [-degrees, +degrees]. ``[90, 90]`` will rotate the image by 90 degrees anticlockwise.
587
interpolation (InterpolationMode, optional): Desired interpolation enum defined by
588
:class:`torchvision.transforms.InterpolationMode`. Default is ``InterpolationMode.NEAREST``.
589
If input is Tensor, only ``InterpolationMode.NEAREST``, ``InterpolationMode.BILINEAR`` are supported.
0 commit comments