DEV Community

Wesam Khallaf — Author of PyTorch From Ground Up profile picture

Wesam Khallaf — Author of PyTorch From Ground Up

Author of PyTorch From Ground Up. Beginner PyTorch tutorials built from the tensor up — reshape, broadcasting, autograd. Free cheat-sheet: https://payhip.com/b/7ukxh

Joined Joined on  twitter website
nn.Module Explained: The Same Model Built with Raw Tensors and with nn.Module

nn.Module Explained: The Same Model Built with Raw Tensors and with nn.Module

Comments
8 min read

Want to connect with Wesam Khallaf — Author of PyTorch From Ground Up?

Create an account to connect with Wesam Khallaf — Author of PyTorch From Ground Up. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
What Your Loss Function Actually Tells the Model: MSE, Cross-Entropy, and the softmax Bug That Trains Anyway

What Your Loss Function Actually Tells the Model: MSE, Cross-Entropy, and the softmax Bug That Trains Anyway

Comments
13 min read
What optimizer.step() Actually Does: One Step of SGD, Momentum and Adam by Hand

What optimizer.step() Actually Does: One Step of SGD, Momentum and Adam by Hand

Comments 1
10 min read
Backpropagation by Hand: Two Layers, a Pen, and Then Autograd Agrees

Backpropagation by Hand: Two Layers, a Pen, and Then Autograd Agrees

Comments
9 min read
PyTorch Autograd Explained: What .backward() Actually Does

PyTorch Autograd Explained: What .backward() Actually Does

1
Comments
9 min read
Your CNN's Advantage Is One Assumption — and I Measured What Happens When It Breaks

Your CNN's Advantage Is One Assumption — and I Measured What Happens When It Breaks

Comments
6 min read
PyTorch `permute` vs `transpose`: What's the Difference (and the `reshape` Bug That Scrambles Your Images)

PyTorch `permute` vs `transpose`: What's the Difference (and the `reshape` Bug That Scrambles Your Images)

Comments
7 min read
What Does `keepdim` Do in PyTorch? (And the Silent Bug When You Forget It)

What Does `keepdim` Do in PyTorch? (And the Silent Bug When You Forget It)

1
Comments
6 min read
What Does `unsqueeze` Do in PyTorch? (And Why Your Model Keeps Asking For It)

What Does `unsqueeze` Do in PyTorch? (And Why Your Model Keeps Asking For It)

Comments
7 min read
Reshape vs View in PyTorch: What's the Difference (and When `view()` Breaks)

Reshape vs View in PyTorch: What's the Difference (and When `view()` Breaks)

Comments
4 min read
PyTorch Broadcasting Explained: The 3 Rules (and the Silent Bug That Bites Everyone)

PyTorch Broadcasting Explained: The 3 Rules (and the Silent Bug That Bites Everyone)

1
Comments
4 min read
loading...