powered by
t returns the transpose of a gpu.matrix-class object.
t
# S4 method for gpu.matrix.tensorflow t(x) # S4 method for gpu.matrix.torch t(x)
It returns a transposed version of a. The output is also a gpu.matrix class object.
a
gpu.matrix
a gpu.matrix to be transposed.
For more information: t.
# \donttest{ if (FALSE) { a <- gpu.matrix(1:9,nrow=3,ncol=3) t(a) #transpose of a. } # }
Run the code above in your browser using DataLab