Modules§
Structs§
- Axes2
- A set of 2 axes, e.g.
Axes2<0, 1>
, orAxes2<1, 3>
. - Axes3
- A set of 3 axes, e.g.
Axes3<1, 3, 4>
- Axes4
- A set of 4 axes
- Axes5
- A set of 5 axes
- Axes6
- A set of 6 axes
- Axis
- A singular axis, e.g.
Axis<0>
orAxis<1>
- Const
- Represents a [Dim] with size known at compile time
- Dyn
- Shape
Tracker
Enums§
Traits§
- Array
- Represents either
[T; N]
orVec<T>
- Assert
Same Numel - Marker for shapes that have the same number of elements as
Dst
- Axes
- Represents indices into the dimensions of shapes
- Broadcast
Shape To - Marker for shapes that can be broadcasted to Shape
S
along AxesAx
. - Broadcast
Strides To - Internal implementation for broadcasting strides
- Const
Dim - Represents a single dimension where all instances are guaranteed to be the same size at compile time.
- Const
Shape - Represents a Shape that has all ConstDims
- Dimension
- Represents a single dimension of a multi dimensional Shape
- HasAxes
- Represents something that has the axes
Ax
- HasShape
- Represents something that has a Shape.
- Permute
Shape To - Range
ToDim - Realize
Shape To - Reduce
Shape - Marker for shapes that can have their Axes
Ax
reduced. See Self::Reduced for the resulting type. - Reduce
Shape To - Marker for shapes that can be reduced to Shape
S
along AxesAx
. - Reduce
Strides To - Internal implementation for reducing a shape
- Shape
- A collection of dimensions ([Dim]) that change how a multi-dimensional array is interacted with.
- Slice
OfShape
Functions§
- resolve_
local_ dyn_ dims - Resolve shapes between the two trackers to the best of our ability
Type Aliases§
- R0
- Compile time known shape with 0 dimensions
- R1
- Compile time known shape with 1 dimensions
- R2
- Compile time known shape with 2 dimensions
- R3
- Compile time known shape with 3 dimensions
- R4
- Compile time known shape with 4 dimensions
- R5
- Compile time known shape with 5 dimensions
- R6
- Compile time known shape with 6 dimensions