Create an NDArrayView instance from a sparse matrix in CSR format.
1 2 |
data |
matrix to be converted |
device |
instance of DeviceDescriptor |
read_only |
(bool) whether the data can be modified |
borrow |
(bool) whether nd_array memory can be borrowed internally to speed up data creation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.