TransposeLayoutExtension extension

on

Methods

moveAxes(int source, int target) Layout
Returns a layout with axis source moved to target.
swapAxes(int first, int second) Layout
Returns a layout with axis first and second swapped.
transpose({Iterable<int>? axes}) Layout
Returns a layout with the transposed axis.