Expand description
Error types for the tenferro runtime crate.
§Examples
use tenferro_runtime::error::{Error, ErrorPhase};
let err = Error::invalid_argument(
"einsum",
ErrorPhase::GraphBuild,
"subscripts",
"bad label",
);
assert!(err.to_string().contains("bad label"));Structs§
- Context
Id - Opaque identifier for an eager AD runtime, used in
Error::ContextMismatch.
Enums§
- Error
- Errors produced by einsum, eval, and other tenferro operations.
- Error
Phase - Phase at which a runtime failure was discovered.
- Shape
Constraint Eval Error - Typed reason that a symbolic shape constraint could not be evaluated.