Skip to contents

Transpose a tensor.

Usage

nv_transpose(x, permutation = NULL)

# S3 method for class '`anvil::Box`'
t(x)

Arguments

x

(nv_tensor)

permutation

(integer() | NULl)
Permutation of dimensions. If NULL (default), reverses the dimensions.

Value

nv_tensor