Expand description
Runtime abstraction surface needed to drive backends directly (e.g. parity tests that construct and compare the ort and candle encoder sessions).
Structs§
- Shape
- Normalized tensor shape independent of any runtime backend.
- Tensor
- Owned, cheaply cloneable tensor value used by the runtime abstraction layer.
Enums§
- Runtime
Error - Errors produced by the runtime abstraction layer.
- Tensor
Data - Owned tensor storage for the supported element types.
- Tensor
Data View - Zero-copy borrow of tensor storage.
Traits§
- Runtime
- Owns loaded sessions. One runtime per
Engine. - Runtime
Factory - Creates a
Runtimeconfigured for a specific execution provider. - Runtime
Session - One loaded model session: encoder, decoder, or joiner.
Functions§
- cpu_
factory - Returns a CPU-only
ortfactory for auxiliary models. - production_
factory - Returns a production
ortfactory that preserves the provider selection and disk-cache layout used by the engine before the runtime abstraction.