aperm | R Documentation |
t
returns the transpose of a gpu.matrix-class object.
## S4 method for signature 'gpu.matrix.tensorflow'
t(x)
## S4 method for signature 'gpu.matrix.torch'
t(x)
x |
a |
It returns a transposed version of a
. The output is also a gpu.matrix
class object.
For more information: t
.
## Not run:
a <- gpu.matrix(1:9,nrow=3,ncol=3)
t(a) #transpose of a.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.