Week 1 exercise 1 :The added layer must be an instance of class Layer

I need help.
The error shown
The added layer must be an instance of class Layer. Found: <class 'tensorflow.python.keras.layers.advanced_activations.ReLU'>

and I looked through discourse found that input_shape matters
tfl.ZeroPadding2D(padding=(3,3), input_shape=(64,64,3)),
I added but still having error

You should use tfl.Flatten() instead of tfl.Flatten in the layer list, the same to other layers as well, like tfl.Relu() instead of tfl.Relu

1 Like

Thank you very much. Solved