CNN 2 max pooling layers and 3 Conv2D layers with 2 dense layers code example
Example: how to create a pooling layers in a CNN
# assuming you're using tenserflow keras
tf.keras.layers.MaxPooling2D(2, 2) # the (2, 2) quarters the size of the image
# assuming you're using tenserflow keras
tf.keras.layers.MaxPooling2D(2, 2) # the (2, 2) quarters the size of the image