Skip to content

Commit 9ece531

Browse files
author
pytorchbot
committed
2026-03-20 nightly release (6285457)
1 parent 6365aba commit 9ece531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/transforms/v2/_geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ class RandomRotation(Transform):
583583
Args:
584584
degrees (sequence or number): Range of degrees to select from.
585585
If degrees is a number instead of sequence like (min, max), the range of degrees
586-
will be [-degrees, +degrees].
586+
will be [-degrees, +degrees]. ``[90, 90]`` will rotate the image by 90 degrees anticlockwise.
587587
interpolation (InterpolationMode, optional): Desired interpolation enum defined by
588588
:class:`torchvision.transforms.InterpolationMode`. Default is ``InterpolationMode.NEAREST``.
589589
If input is Tensor, only ``InterpolationMode.NEAREST``, ``InterpolationMode.BILINEAR`` are supported.

0 commit comments

Comments
 (0)