Skip to main content

Module memory_layout

Module memory_layout 

Source
Expand description

Tensor memory layout management for multi-dimensional arrays.

Provides layout descriptors that capture shape, strides, byte offsets, and layout transformations (row-major / column-major, transposition, slicing).

Structs§

LayoutDescriptor
Complete memory layout descriptor for a tensor.
LayoutStats
Cumulative statistics gathered by TensorMemoryLayout.
TensorMemoryLayout
Manager for a collection of LayoutDescriptors.
TensorShape
Describes the logical shape of a tensor.

Enums§

LayoutOrder
Memory ordering for a multi-dimensional tensor.

Type Aliases§

MemoryLayoutShape
Alias for TensorShape used when importing alongside other crates that define their own TensorShape.