Defining Differentiation Rules for Custom Primitives
Was this section helpful?
JAX: Custom primitive cookbook, The JAX Developers, 2024 (The JAX Authors) - Official documentation providing practical guidance and examples for defining custom JAX primitives and their differentiation rules (JVP and VJP).
Deep Learning, Ian Goodfellow, Yoshua Bengio, and Aaron Courville, 2016 (MIT Press) - An authoritative textbook with sections dedicated to explaining automatic differentiation and backpropagation algorithms, providing conceptual understanding.