WhyTorch
Open source interactive website that explains PyTorch tensor functions by visualizing element-level relationships between inputs and outputs. For any function, users can click elements in the result to see where they came from, or click elements in the inputs to see how they contribute to the result, making tricky functions like torch.gather and torch.scatter more intuitive. It also clarifies indexing, slicing, and broadcasting visually, and can be reached directly from PyTorch docs pages by modifying the base URL.
What it addresses
Tricky PyTorch tensor functions like torch.gather and torch.scatter are unintuitive and hard to grasp from reading the docs alone.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
WhyTorch
Open source interactive website that explains PyTorch tensor functions by visualizing element-level relationships between inputs and outputs. For any function, users can click elements in the result to see where they came from, or click elements in the inputs to see how they contribute to the result, making tricky functions like torch.gather and torch.scatter more intuitive. It also clarifies indexing, slicing, and broadcasting visually, and can be reached directly from PyTorch docs pages by modifying the base URL.
Problem: Tricky PyTorch tensor functions like torch.gather and torch.scatter are unintuitive and hard to grasp from reading the docs alone.
Posted by @kukanani · Original source ↗
Source text · @kukanani · · Source ↗
An open source website I built to explain tensor functions in PyTorch: https://whytorch.org It makes tricky functions like torch.gather and torch.scatter more intuitive by showing element-level relationships between inputs and outputs. For any function, you can click elements in the result to see where they came from, or elements in the inputs to see how they contribute to the result to see exactly how it contributes to the result.