/usr/src/RPM/BUILD/eigen3-3.3.3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h

Tensor<float, 2, ColMajor> input(2, 4); Tensor<float, 2, RowMajor> output = input.swap_layout(); eigen_assert(output.dimension(0) == 4); eigen_assert(output.dimension(1) == 2);

array<int, 2> shuffle(1, 0); output = input.swap_layout().shuffle(shuffle); eigen_assert(output.dimension(0) == 2); eigen_assert(output.dimension(1) == 4);

 All Classes Functions Variables Typedefs Enumerator