tfm.vision.preprocess_ops_3d.random_rotation

Randomly rotate all frames with 0, 90, 180, or 270 degrees.

frames A Tensor of shape [timesteps, input_h, input_w, channels].
seed A seed to use for the random sampling.

A Tensor of shape [timesteps, output_h, output_w, channels] eventually rotated at 0/90/180/270 degrees.