gensim.matutils.Scipy2Corpus.__init__

Scipy2Corpus.__init__(vecs)[source]

vecs is a sequence of dense and/or sparse vectors, such as a 2d numpy array, or a scipy.sparse.csc_matrix, or any sequence containing a mix of 1d numpy/scipy vectors.