def random_hue(img): return tf.image.random_hue(img, 0.05) test_random_hue = (train_data.map(lambda img, label: random_hue(img))) plt.figure(figsize=(6,6)) for img in test_random_hue.take(1): for num in range(16): ax = plt.subplot(4,4,num+1) plt.imshow((img[num].numpy()).astype("uint8")) plt.axis("off") plt.suptitle("Random Hue") plt.tight_layout() plt.show() __ __