Expand description
TensorSliceManager — named tensor slice management with copy-on-write semantics,
bounds checking, and overlap detection.
§Overview
A TensorSliceManager owns a TensorShape that describes the overall tensor
dimensions and a registry of named TensorSlices. Each slice is a contiguous
sub-region described by a SliceSpec (per-dimension [start, end) ranges) and
carries its own flattened f32 data buffer together with a version counter and a
dirty flag that supports copy-on-write workflows.
Structs§
- Slice
Manager Stats - Aggregate statistics for a
TensorSliceManager. - Slice
Spec - Describes a per-dimension
[start, end)range that selects a contiguous sub-region of a tensor. - Tensor
Shape - Describes the shape of a multi-dimensional tensor in C (row-major) order.
- Tensor
Slice - A named, versioned, copy-on-write slice of a tensor.
- Tensor
Slice Manager - Registry that manages named slices of a fixed-shape tensor.