as.vector.gpuMatrix | R Documentation |
The function will convert the gpuMatrix object into a vector,
if you have run any GPU functions on the gpuMatrix object,
please call download(x)
to synchronize the data before calling this function.
## S3 method for class 'gpuMatrix' as.vector(x, mode = NULL)
x |
an gpuMatrix object |
mode |
This argument is only for compatibility. It does not take any effect. |
A vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.