TransposeLayoutExtension extension

on

Methods

moveAxes(int source, int target) Layout

Available on Layout, provided by the TransposeLayoutExtension extension

Returns a layout with axis source moved to target.
swapAxes(int first, int second) Layout

Available on Layout, provided by the TransposeLayoutExtension extension

Returns a layout with axis first and second swapped.
transpose({Iterable<int>? axes}) Layout

Available on Layout, provided by the TransposeLayoutExtension extension

Returns a layout with the transposed axis.