Yes, RandomRotation will transform all inputs and uses a uniform probability to sample the angle in the specified range. Random*Flip uses the passed probability to apply the flipping or to keep the original image, so both are using a probability in a similar sense where the former is uniform and the latter is binary. If you want to randomly apply a random transformation (such as RandomRotation), you could check transforms.RandomApply 31.