Expand description
Shared value types for NIR tensors and metadata.
Python NIR stores parameters as numpy.ndarray. This module provides a
compact, owned representation suitable for an in-memory Rust IR. HDF5
decoding (v0.3) will map wire arrays into Tensor.
Structs§
- Tensor
- Dense, row-major tensor (shape + contiguous typed data).
Enums§
- DType
- Element type of a contiguous tensor buffer.
- Metadata
Value - Free-form metadata values attached to graphs and nodes.
- Tensor
Data - Contiguous numeric payload backing a
Tensor.
Type Aliases§
- Metadata
Map - Free-form metadata map (Python NIR
metadata: Dict[str, Any]).