I heard the convolution and pooling operations happens in hidden layers but I see the opposite in the picture below....So which one is correct? 