R/tensor.R
tch_t.Rd
transpose
tch_t(x)
tensor object
x <- tensor(matrix(runif(6), nrow = 3)) tch_t(x)#> tensor #> 0.6721 0.8198 0.9146 #> 0.6900 0.4920 0.6469 #> [ Variable[CPUFloatType]{2,3} ]