Skip to content
fn

transpose_op

→TensorImplPtr
int transpose_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbol.

Reverse all axes of a: equivalent to permute(a, [ndim-1, …, 1, 0]).

See Also

T_op : Alias used to implement the .T property. mT_op : Batch-matrix-transpose variant that only swaps the last two axes.

Parameters

aTensorImplPtr
Input tensor.

Returns

TensorImplPtr

View of a with reversed axis order.