Expand description
Primitive AD rule contract consumed by tidu.
This module defines the graph-level rule surface used by
crate::try_linearize, crate::try_linear_transpose, and eager transpose
helpers. It is intentionally narrower than Julia ChainRules: downstream
primitive sets implement JVP and transpose emission for
computegraph graph primitives.
Enums§
- ADRule
Error - Error returned when an AD rule cannot be emitted.
- ADRule
Kind - Identifies which AD rule failed or is unavailable.
- Primitive
Value - Reference to a value available to a primitive AD rule.
Traits§
- ADKey
- Constraint on
GraphOperation::InputKeyfor AD use. - Primitive
- Extends
GraphOperationwith primitive JVP and transpose rules for AD. - Primitive
Builder - Builder used by primitive JVP and transpose rules to append primitive applications.
Type Aliases§
- ADRule
Result - Result type used by fallible AD rule emission.
- Diff
Pass Id - Unique identifier for a
crate::linearizecall.