TransposeDescriptor class

Describes a row-major permutation of layout axes.

Entry i of axisOrder is the input axis used as output axis i.

Annotations

Constructors

TransposeDescriptor({required LayoutShape inputShape, Iterable<int>? axisOrder})
Creates an axis transpose, reversing all axes when axisOrder is omitted.
TransposeDescriptor.matrix({required int rows, required int columns})
Creates a conventional row/column matrix transpose.
factory

Properties

axisOrder → List<int>
Output-axis-to-input-axis mapping.
final
hashCode → int
The hash code for this object.
no setterinherited
inputShape → LayoutShape
Shape before transposition.
final
outputShape ↔ LayoutShape
Shape after transposition.
latefinal
permutation ↔ PermutationDescriptor
Linear output-to-input element mapping.
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited