On Thu, 06 Jun 2019 10:40:47 -0000
"Amitoz AZAD" <rteja764(a)gmail.com> wrote:
So my understanding is that you extracted the row , column indices and the data from the
sparse matrix and then passed it as the normal numpy vectors?
lut (3 tuple) the variable is your sparse matrix ?
Yes, this "LUT" is a 3-tuple containing the CSR representation of the sparse
You can use scipy.sparse.csr_matrix to generate the sparse
represenation and retrieve those "data", "indices" and
which are compatible with my code.
Another way to do this is to use a sparsifyer on the the device, but
this requires the full matrix fits into the device's memory.
This is ongoing work !
The most usual way is neverthless to build those vector directly when
the sparse matrix is too large to fit into memory.