Function marian::transpose(Expr, const std::vector<int>&)¶
Defined in File expression_operators.cpp
Function Documentation¶
-
Expr
marian
::
transpose
(Expr a, const std::vector<int> &axes) Returns the transpose of an expression.
Permutes the axes of an expression to resemble
axes
. Axisi
of the returned expression corresponds toaxes
[i] of the inputa
.- See
- Parameters
a
: Expression to manipulateaxes
: Desired permutation of axes