All

PyTorch

2 articles

Forward-Mode and Reverse-Mode Autodiff via JVP and VJP

Understanding Jacobian-vector and vector-Jacobian products in PyTorch, JAX, and MLX

ML & Autodiff · zh·12 equationsPyTorchAutodiff
Solutions to Tensor Puzzlers: A Deep Dive into Tensor Operations

Vectorized solutions and broadcasting patterns for Sasha Rush's Tensor Puzzles