Module aegir::buffers::shapes

source ·
Expand description

Module for compile-time and runtime tensor shapes.

Structs

Error type for two incompatible shapes.
Fixed 0-dimensional (scalar) shape.
Fixed 1-dimensional (vector) shape.
Fixed 2-dimensional (matrix) shape.
Fixed 3-dimensional shape.
Fixed 4-dimensional shape.
Fixed 5-dimensional shape.
Fixed 6-dimensional shape.
Fixed rank, variable DIM-dimensional shape.

Traits

Trait for broadcasting pairs of shapes.
Trait for concatenating two shapes into one.
Trait for index types that can be used to access buffer elements.
Trait for types that represent the shape of a buffer.
Trait for types that have a well-defined shape.
Trait for splitting a shape into two symmetric parts.

Type Definitions

Type alias for Broadcast::Shape.
Type alias for Broadcast::Shape.
Type alies for index type associated with a shape.
Type shortcut for the Shape associated with a Shaped.