Expand description
Eager AD support for out-of-tree extension primitives.
Structs§
- Extension
Cache Key - A stable key for one extension-owned runtime cache entry.
- Extension
Cache Limits - Bounded retention limits for extension runtime caches.
- Extension
Cache Store - Bounded type-erased cache storage owned by an extension executor.
- Extension
Execution Context - Backend and cache state passed to one prepared extension execution.
Enums§
- Extension
Cache Selector - Selector used to inspect or clear extension cache entries.
Traits§
- Extension
Op - The contract every out-of-tree extension primitive must satisfy.
Functions§
- adopt_
untracked_ eager_ value - Adopt an untracked eager tensor value produced by this runtime’s backend.
- apply
- Apply an extension op in the traced graph.
- apply_
eager - Apply an extension op to eager AD tensors.
- apply_
eager_ with_ extension_ session - Apply an extension op to eager tensors through a direct prepared-operation callback receiving a non-owning backend session.
- apply_
standard_ op - Apply one standard tensor op eagerly and record it for AD when needed.
Derive Macros§
- Extension
Family Id - Derive an inherent
FAMILY_IDconstant for an extension payload type.