Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
CVPR 2016 · arXiv 1512.03385 · Read the paper ↗
Skip connections let networks go hundreds of layers deep. The residual idea now sits inside every Transformer too.
5 steps · 0 solved
Start: 2D convolution →- 12D convolutionSlide a kernel with stride and padding.Write a 2D convolution with stride and padding
- 2Batch norm on feature mapsNormalise each channel across the batch and space.Apply batch norm to conv feature maps per channel
- 3Max poolingDownsample and route gradients to the max.Max pooling forward and backward
- 4Residual block forwardAdd the input back to the branch output.Forward pass of a pre-norm residual MLP block
- 5Residual block backwardSee why the identity path keeps gradients alive.Backpropagate through a residual MLP block