Skip to main content

is_tracer

Function is_tracer 

Source
pub fn is_tracer(a: &Array) -> bool
Expand description

Whether a depends on a transform’s tracer or a placeholder, that is, it is being traced by grad, vjp, jvp, vmap or compile. Tracer status is transient: an array is a tracer only while the outermost transform it depends on runs (on this thread).