Expand description
Semantic-program automatic-differentiation rules for extension operations.
Rules in this module are owned explicitly by crate::AdContext. They
operate on opaque semantic [ProgramValue] tokens and never expose
computegraph node keys or execution-program slots.
Structs§
- Semantic
Extension Rule Set - Explicit clone-on-write set of semantic extension AD rules.
- Semantic
Linear Transpose Request - Ordered inputs for one semantic linear-transpose rule.
- Semantic
Linearize Request - Ordered inputs for one semantic extension linearization rule.
- Semantic
Linearize Result - Output of one semantic extension linearization rule.
- Semantic
Primal VjpRequest - Ordered inputs for one direct semantic primal-VJP rule.
Enums§
- AdValue
- One optional semantic AD value.
- Semantic
AdError - Failures while dispatching or building semantic extension AD.
- Semantic
AdRule Role - Semantic extension AD rule role.
- Semantic
Extension Registry Error - Registration failures for semantic extension AD rules.
Traits§
- Semantic
Linear Transpose Rule - Transpose rule for an extension viewed as a linear map.
- Semantic
Linearize Rule - Definitional JVP rule for one extension family.
- Semantic
Primal VjpRule - Optional direct VJP rule expressed against primal semantic values.