# assuming you're using tenserflow keras tf.keras.layers.MaxPooling2D(2, 2) # the (2, 2) quarters the size of the image