Expand description
Lightweight backend-independent host tensor data model.
Execution-capable tensors and backends in this crate remain separate from the host-only core model during the crate-boundary split.
Structs§
- DynRank
- Dynamic tensor rank marker.
- Host
Tensor - Owned contiguous host tensor in column-major order.
- Host
Tensor View - Borrowed host tensor view with shape, strides, and offset metadata.
- Rank
- Static tensor rank marker.
- Slice
Spec - Explicit slice descriptor.
- Tensor
Layout - Storage-neutral tensor layout metadata.
Enums§
- DType
- Runtime scalar dtype tag.
- Error
- Data-model validation errors.
- Tensor
- Dynamic owned host tensor over the supported dtype set.
- Tensor
Ref - Core-neutral tensor input reference.
- Tensor
View - Dynamic borrowed host tensor view.
Traits§
- Tensor
Rank - Rank contract for tensor metadata shapes and strides.
- Tensor
Scalar - Sealed trait for scalar types supported by the core tensor data model.
Functions§
- col_
major_ strides - Return compact column-major strides for a shape.