Convolutional Neural Networks
TL;DR: In a convolution layer, \[ \text { Output size }=\left\lfloor\frac{\text { Input size }+2 \times \text { Padding }- \text { Kernel size }}{\text { Stride }}\right\rfloor+1 \]
Sources:
- Convolutional Neural Networks from d2l