Expand description
Storage — static link between a Rust storage type and its IR
TypeNode. Library makers declare where in the polymorphism tree
their concrete sits by picking the Storage impl for their
associated type.
Structs§
- AnyTensor
- Concrete-erased tensor. Stores raw bytes plus a runtime-known
dtype + shape. Compute-outsourcing concretes (an index that
delegates distance math to a bound Backend) declare
type Vector = AnyTensor—Storage::TYPE = &TYPE_TENSORputs the value at a non-leaf position in the tree, so any tensor subtype unifies into it.
Enums§
- Dtype
- Runtime dtype tag for
AnyTensorand any caller that needs to dispatch over the framework’s known tensor dtypes.
Traits§
- Storage
- Static link between a Rust storage type and its IR
TypeNode.