Permutes the dimensions of an array. You can also use t() for matrices.
Usage
nv_transpose(x, permutation = NULL)
# S3 method for class 'AnvlBox'
t(x)Value
arrayish
Has the same data type as x and shape nv_shape(x)[permutation].
See also
prim_transpose() for the underlying primitive.