ResNet is a deep neural-network architecture that adds a block’s input directly to its output through a skip connection. This shortcut helps deep models train by creating a more direct path for gradients, reducing problems caused by long chains of multiplications. section 8.5.3
A residual block in PyTorch
A residual block applies convolution, batch normalization, and ReLU, then returns `out + x`. Stacking these blocks creates a much deeper network; the example uses 100 blocks in `NetResDeep`.



