TensorLayoutSwap Class Reference

Swap the layout from col-major to row-major, or row-major to col-major, and invert the order of the dimensions. More...

Detailed Description

Swap the layout from col-major to row-major, or row-major to col-major, and invert the order of the dimensions.

Beware: the dimensions are reversed by this operation. If you want to preserve the ordering of the dimensions, you need to combine this operation with a shuffle.


The documentation for this class was generated from the following file: