Expand description
Stride-based tensor type with zero-copy views.
The Tensor type supports:
- Zero-copy
permuteandreshapeoperations - Automatic contiguous copy when needed for GEMM
- Generic over algebra and backend
Structs§
- Tensor
- A multi-dimensional tensor with stride-based layout.
- Tensor
View - A borrowed view into a tensor.
Functions§
- compute_
contiguous_ strides - Compute contiguous strides for column-major (Fortran) layout.