tfm.vision.augment.rotate

Rotates the image by degrees either clockwise or counterclockwise.

image An image Tensor of type uint8.
degrees Float, a scalar angle in degrees to rotate all images by. If degrees is positive the image will be rotated clockwise otherwise it will be rotated counterclockwise.

The rotated version of image.