The deep learning toolchain for the rest of the course. This module covers PyTorch from the ground up — tensors and data pipelines, then the mechanics of building, training, and structuring real models.
What You’ll Learn¶
Tensors: creation, manipulation, broadcasting, and GPU acceleration
DatasetandDataLoaderpipelines for batching and shufflingBuilding models with
torch.nn.ModuleAutomatic differentiation and the training loop
Activation functions, loss functions, and optimizers
Structuring larger projects and higher-level training frameworks
Lecture Materials¶
📓 Chapter notebooks: PyTorch fundamentals (two parts, ch12) and the mechanics of PyTorch (two parts, ch13)
Prerequisites¶
Module 10 (neural network fundamentals, backpropagation)
Reference¶
Raschka & Mirjalili, Machine Learning with PyTorch and Scikit-Learn, Chapters 12–13.