gpu.matrix-class | R Documentation |
GPU computational power is a great resource for computational biology specifically in statistics and linear algebra. the gpu.matrix-class is a class of the GPUmatrix package, that store a matrix in the GPU.
The GPUmatrix package is based on S4 objects in R and we have created a constructor function that acts similarly to the default matrix
constructor in R for CPU matrices. The constructor function is gpu.matrix
and accepts the same parameters as matrix
.
Use the @
operator to access the different slots:
the row names of the gpu.matrix
the colunm names of the gpu.matrix
the corresponding tensor
Logical: indicates if the gpu.matrix is sparse or not
If it is tensorflow or torch
See Also gpu.matrix
, Matrix
, and matrix
..
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.