Hi, I am trying to implement a CNN in pure python to understand how the magic happens.
I have input a set of RGB images,  32 x 32  in size.
I made a convolutional filter that converts this  1 x 3 x 32 x 32  vector
to  1 x 1 x 32 x 32  and then I apply a maxpool layer which makes the size  1 x 1 x 16 x 16 .
My question is how do I classify by applying a softmax now?
How can I pass gradients if I apply softmax on the 16 x 16 dimensional vector?