Deep Learning from Scratch with PyTorch
From Mathematical Foundations to Production-Ready Models
Master deep learning from mathematical foundations to production-ready models. Cover CNNs, RNNs, Transformers, GNNs, GANs, VAEs, Reinforcement Learning, and more with PyTorch implementations.
12 chapters— in publication order.
Part II · Chapter 04 · 6 sections · 123 min
Mastering PyTorch's core abstractions
- 4.1Tensors: The Foundation of Deep Learning25m
- 4.2Tensor Operations Deep Dive22m
- 4.3Indexing, Slicing, and Reshaping18m
- 4.4GPU Computing15m
- 4.5Autograd System25m
- 4.6Building Custom Autograd Functions18m
Part II · Chapter 05 · 6 sections · 114 min
Components of neural networks
- 5.1The nn.Module Class20m
- 5.2Linear Layers15m
- 5.3Activation Functions22m
- 5.4Loss Functions20m
- 5.5Normalization Layers22m
- 5.6Dropout and Regularization15m
Part II · Chapter 06 · 6 sections · 118 min
Understanding neural network architectures from shallow to deep
- 6.1The Perceptron18m
- 6.2Multi-Layer Perceptrons (MLPs)22m
- 6.3Universal Approximation Theorem20m
- 6.4Shallow vs Deep Networks18m
- 6.5Why Depth Matters15m
- 6.6Building Your First Neural Network25m
Part II · Chapter 07 · 5 sections · 89 min
Efficient data pipelines
- 7.1The Dataset Class18m
- 7.2DataLoader Deep Dive20m
- 7.3Data Transforms18m
- 7.4Custom Datasets18m
- 7.5Handling Imbalanced Data15m
Part II · Chapter 08 · 6 sections · 130 min
The algorithm that makes deep learning possible
- 8.1The Learning Problem12m
- 8.2Gradient Descent Variants18m
- 8.3Computational Graphs15m
- 8.4Backpropagation Derivation30m
- 8.5Implementing Backprop from Scratch35m
- 8.6Gradient Flow Analysis20m
Part II · Chapter 09 · 8 sections · 161 min
The art and science of training
- 9.1The Training Loop18m
- 9.2Optimizers25m
- 9.3Learning Rate Strategies22m
- 9.4Weight Initialization18m
- 9.5Overfitting and Regularization20m
- 9.6Hyperparameter Tuning18m
- 9.7Debugging Neural Networks22m
- 9.8Transfer Learning Fundamentals18m
Part III · Chapter 10 · 6 sections · 141 min
The convolution operation explained
- 10.1Motivation for Convolutions18m
- 10.2The Convolution Operation22m
- 10.3Convolution Parameters20m
- 10.4Implementing Convolution28m
- 10.5Pooling Operations25m
- 10.6Transposed Convolutions28m
Part VII · Chapter 24 · 4 sections · 67 min
Learning without labels
- 24.1Why Self-Supervised Learning?15m
- 24.2Pretext Tasks for Images22m
- 24.3Pretext Tasks for Text18m
- 24.4Pretext Tasks for Sequences12m
55 sections. Begin with one.
Chapter 4 — PyTorch Fundamentals — is where every reader starts.
In progress — 55 of 179 lessons published
124 more sections are still being written and are not part of this count.