r/pytorch • u/InternationalSlice72 • 21h ago
Tensor Golf - Master PyTorch tensor operations via focused drills
Hey everyone, I’ve just released Tensor Golf: a collection of focused PyTorch challenges for getting comfortable manipulating tensors.
I found that following ML tutorials and writing tensor code from scratch were two very different things. Understanding a model’s architecture doesn’t necessarily mean you can confidently reshape, broadcast, mask, or reduce its tensors.
Tensor Golf gives you an input tensor and a target output. Your job is to write the operations that transform one into the other.
The “golf” part is trying to solve problems in fewer operations, but the main goal is building fluency: recognising which operations fit a problem and understanding why they work.
There are currently many PyTorch problems all free on the platform, with some premium ones on the way to support the development of the platform :)
I'd love feedback from people learning or working with PyTorch.
link: https://tensor.golf