Machine Learning from First Principles, with PyTorch AutoDiff — Topic 66 of ML Foundations