Expand description
Multi-dimensional tensor support: Shape, Strides, TensorView, broadcasting.
Provides the foundational types for tensors:
tensor::shape::Shape— dimension extents and broadcasting logic.tensor::shape::Strides— element-offset per axis and flat indexing.tensor::view::TensorView/tensor::view::TensorViewMut— zero-copy views.tensor::view::broadcast_elementwise— fused element-wise ops with broadcasting. Multi-dimensional tensor support: Shape, Stride, and TensorView.
This module provides the foundational data types for multi-dimensional tensor operations. It is intentionally separate from the JIT compiler so that shape/stride metadata can be used independently of Cranelift.