use-ml-tensor
Tensor shape and metadata primitives for RustUse machine-learning workflows.
Experimental
use-ml-tensor is experimental while use-ml remains below 0.3.0.
Example
use ;
let shape = new?;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Tensor shape, dimension, rank, and axis metadata.
- Dtype, layout, device-kind, and memory-format labels.
- Checked shape helpers such as rank and element-count metadata.
Non-goals
- Tensor math, autograd, model execution, tensor allocation, or framework bindings.
- Device APIs, runtime scheduling, kernels, CUDA, ONNX Runtime, or data movement.
License
Licensed under either Apache-2.0 or MIT.