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...

#include <TensorLayoutSwap.h>

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:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:54