max pooling 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