tf.keras.preprocessing.image.random_rotation code example
Example: rotate an image python keras
tf.keras.preprocessing.image.random_rotation( x, rg, row_axis=1, col_axis=2, channel_axis=0, fill_mode='nearest', cval=0.0, interpolation_order=1)