-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Open
Labels
Description
Our package gensim depends on sparsetools.csc_matvecs which became internal in #3440 and shows deprecation notices .
sparsetools is used in gensim to save memory when corpus and chunk are large csc matrix and o is dense:
sparsetools.csc_matvecs(m, n, samples, corpus.indptr, corpus.indices,
corpus.data, o.ravel(), y.ravel()) # y = corpus * o
sparsetools.csc_matvecs(m, n, samples, chunk.indptr, chunk.indices, # y = y + chunk * o
chunk.data, o.ravel(), y.ravel())
It would be great to have an externally available sparse in-place AXPY to replace the csc_matvecs which is about to get deprecated.
Thanks to Pauli Virtanen on the mailing list for the suggestion.
https://mail.scipy.org/pipermail/scipy-user/2015-October/036712.html