DEV Community

PytorchFromGroundUp Series' Articles

Back to Wesam Khallaf — Author of PyTorch From Ground Up's Series
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
Reshape vs View in PyTorch: What's the Difference (and When `view()` Breaks)
Cover image for 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
What Does `unsqueeze` Do in PyTorch? (And Why Your Model Keeps Asking For It)
Cover image for 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
What Does `keepdim` Do in PyTorch? (And the Silent Bug When You Forget It)
Cover image for 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
PyTorch `permute` vs `transpose`: What's the Difference (and the `reshape` Bug That Scrambles Your Images)
Cover image for 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
PyTorch Autograd Explained: What .backward() Actually Does
Cover image for PyTorch Autograd Explained: What .backward() Actually Does

PyTorch Autograd Explained: What .backward() Actually Does

Comments
9 min read