BP derivation for MLP and CNN

\section{Task description}
Please derive a backpropagation process

(1) for the multi-layer neural network with one hidden layer, where data are in a m-dimensional feature space with n classes. Loss functions can use L2 distance or cross entropy.

(2) for the LeNet-5 CNN.