hawk.diff#
IR -> IR autodiff, symbolic and in both directions. vjp()
and jvp() synthesise
a NEW IR from a primal one, driven by the per-node-KIND rule table
(hawk.diff.rules); the result is an ordinary HAWK IR that goes through
the same canonical walk, emitter and cache as any primal.
Functions
|
The reverse-mode derivative IR of |
|
The forward-mode derivative IR of |
Classes
The sink tuple |