aperm {GPUmatrix} | R Documentation |
Array Transposition
Description
t
returns the transpose of a gpu.matrix-class object.
Usage
## S4 method for signature 'gpu.matrix.tensorflow'
t(x)
## S4 method for signature 'gpu.matrix.torch'
t(x)
Arguments
x |
a |
Value
It returns a transposed version of a
. The output is also a gpu.matrix
class object.
See Also
For more information: t
.
Examples
## Not run:
a <- gpu.matrix(1:9,nrow=3,ncol=3)
t(a) #transpose of a.
## End(Not run)
[Package GPUmatrix version 1.0.2 Index]