Module shape

Source
Expand description

§Shapes

This modules provides implements several useful primitives for working with the shape of a Tensor.

Structs§

Axis
An Axis is used to represent a dimension in a tensor.
Layout
The layout describes the memory layout of a tensor.
Rank
Shape
A shape is a description of the number of elements in each dimension.
ShapeErrorIter
An iterator over the variants of ShapeError
Stride

Enums§

ShapeError
Strides

Traits§

IntoAxis
IntoRank
IntoShape
IntoStride

Type Aliases§

ShapeResult