Skip to main content

Module error

Module error 

Source
Expand description

Runtime error types for tensor execution.

§Examples

let error = tenferro_tensor::Error::shape_mismatch("add", [2], [3]);
assert!(matches!(
    error,
    tenferro_tensor::Error::Validation { op: "add", .. }
));

Enums§

Error
Runtime failures produced by tensor execution backends and helpers.

Type Aliases§

BoxError
Boxed source used for backend and extension failures whose concrete type is owned by another crate or a vendor API.
Result
Result type alias for runtime tensor operations.