Module shape

Source

Modules§

symbolic
tracker

Structs§

Axes2
A set of 2 axes, e.g. Axes2<0, 1>, or Axes2<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> or Axis<1>
Const
Represents a [Dim] with size known at compile time
Dyn
ShapeTracker

Enums§

ReshapeDim

Traits§

Array
Represents either [T; N] or Vec<T>
AssertSameNumel
Marker for shapes that have the same number of elements as Dst
Axes
Represents indices into the dimensions of shapes
BroadcastShapeTo
Marker for shapes that can be broadcasted to Shape S along Axes Ax.
BroadcastStridesTo
Internal implementation for broadcasting strides
ConstDim
Represents a single dimension where all instances are guaranteed to be the same size at compile time.
ConstShape
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.
PermuteShapeTo
RangeToDim
RealizeShapeTo
ReduceShape
Marker for shapes that can have their Axes Ax reduced. See Self::Reduced for the resulting type.
ReduceShapeTo
Marker for shapes that can be reduced to Shape S along Axes Ax.
ReduceStridesTo
Internal implementation for reducing a shape
Shape
A collection of dimensions ([Dim]) that change how a multi-dimensional array is interacted with.
SliceOfShape

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