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