ruda-tensor
Shared tensor backend contracts, primitives, shapes, data types, and the feature-selected public tensor API. Backend implementations live in the separate host, device, router, and remote packages.
Interfaces
Backendand theopstraits define backend operation contracts.TensorData, shape, slice, and quantization types describe tensor values and layout.api::Tensoris the high-level tensor interface whenapiis enabled;graphexposes operation graphs.
Usage
Cargo package: ruda-tensor. Rust import: ruda_tensor.
[]
= { = "0.21", = ["api"] }
Features
Default features: std.
| Feature | Purpose |
|---|---|
api |
Enable the public tensor API. |
api-std |
Enable standard-library support for the public API. |
graph |
Enable tensor operation graphs. |
distributed |
Enable distributed tensor contracts. |