- Evaluate
- Jacobian-Vector Product (jvp)
- Vectorization (vmap)
- Dynamic tracing (make_jaxpr)
- Just-in-Time Compilation (jit)
Example:
y = 2.0 * adx.sin(3.0)
adx.sin
intercepts the argument (3.0) and passes it tobind
.bind
does the following:- Selects a trace T based on a tracer's main trace (i.e. interpreter) levels.
- Wrap arguments into tracers of T.
- Apply T's interpretation rule of the primitive (in this case,
sin
), which outputs Q. - Unwrap tracers Q into values.