Block 1 of 7~1 min
From the pipeline to the loss
The topic PyTorch and automatic differentiation built a training pipeline and used cross-entropy in it without asking why. Two parts of that pipeline decide what the network actually learns. The loss says what counts as a good prediction and, through its gradient, how hard each example pulls on the weights. Regularization decides what happens once the network can fit its training set exactly — which a deep network almost always can. This topic covers both.
Notation. Residual . For classes, logits , probabilities , one-hot . Parameters , learning rate , weight-decay coefficient , dropout probability , label-smoothing .