{moderator edit - solution code removed}
In this function how is it working without using tfl. for RandomFlip() and RandomRotation(). If instead of this image I do like .add( tfl.RandomFlip(“horizontal”) ) it shows error “module ‘tensorflow.keras.layers’ has no attribute ‘RandomFlip’”. But in the documentation it’s used with tfl. or layers.