Outputshape for cnn

how to get the shape of the output image after each layer of CNN for verification?

I’m not sure what kind of verification you would like to perform, but based on the input shape you could manually calculate the output shape using the formula from the docs.