Expand description
Backend operation capability descriptors.
§Examples
use tenferro_core_ops::PrimitiveOpKind;
use tenferro_tensor::{capability_output_dtype, DType};
assert_eq!(
capability_output_dtype(PrimitiveOpKind::Compare, DType::F64),
Some(DType::Bool)
);Structs§
- Capability
Query - Query key for a backend capability lookup.
- Operation
Capability - One backend capability entry for a primitive op and input dtype.
Enums§
- Backend
Id - Stable backend identifier used by capability descriptors.
- Capability
Axis - Axis within an operation capability entry.
- Support
Level - Three-valued support level for a backend capability axis.
Traits§
- Tensor
Backend Capability - Backend capability query surface.
Functions§
- capability_
output_ dtype - Return the output dtype allowed by the core op catalog policy for a unary dtype representative.