Expand description
Borrowed N-D tensor transport: host-owned dense tensors (e.g. uint8
[N,H,W,C] RGB, float32 [N,H,W,Wavelength] hyperspectral) copied into
provider-owned, canonical row-major storage, keyed and gathered by
observation_id.
Axis 0 is ALWAYS the sample/observation axis; the remaining axes are opaque to this layer (no conv / decode / preprocessing / interpolation). Strides are a transport detail of the input: borrowed strided input is copied into canonical contiguous bytes at construction and strides are then discarded, so everything stored here is contiguous row-major and fingerprintable.
This is the ND parallel of crate::buffer: a NdTensorStore of immutable
tensors, an NdTensorArena that binds them to materialized data handles by
output representation, and a relation-ordered NdTensorBlock export.
Structs§
- NdTensor
- A stored, immutable, contiguous row-major N-D tensor.
- NdTensor
Arena - A store plus per-data-handle bindings, mirroring
NumericFeatureBufferArena. - NdTensor
Binding - Binding of one stored tensor to a materialized data handle.
- NdTensor
Block - A relation-ordered, axis-0-filtered export of a stored tensor.
shape[0]is the number of selected rows;datais contiguous row-major bytes. - NdTensor
Input - A canonical (contiguous row-major) N-D tensor handed to the store. The C ABI layer copies any strided borrowed input into this shape before calling in.
- NdTensor
Manifest - Provider-wide manifest of one stored tensor (no payload bytes).
- NdTensor
Store - An immutable collection of N-D tensors keyed by
tensor_id.
Enums§
- NdTensorD
Type - Element dtype of an N-D tensor. The C ABI exposes a matching
#[repr(C)]DagMlDataTensorDTypeenum and maps to/from this type explicitly; this core enum carries no ABI guarantee of its own.
Constants§
- ND_
TENSOR_ MANIFEST_ SCHEMA_ VERSION - Schema version of
NdTensorManifest/NdTensorBinding. - ND_
TENSOR_ MAX_ RANK - Maximum supported tensor rank. Bounds the shape-product arithmetic and keeps the contract finite.