1
$\begingroup$

I know back propagation takes derivatives (changing one quantity wrt other). But how this is applied when there is maxpooling layer in between two Conv2D layers? How it gains its original shape when there is padding added?

$\endgroup$
0
0
$\begingroup$

Max pooling will cancel the effect of not pooled values to the gradients. Padded values either have no effect.

Nice thing about convolution is, that it is basically reducable to a matrix multiplication and the backpropagation is simply the transposed of it. So you have already your backward pass stored in the foward pass.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.