src.utils.sparse.recover_ssp

src.utils.sparse.recover_ssp(t_dict)[source]

Recover scipy.sparse coo_matrix from a dictionary containing row, col and data tensors. :param t_dict: containing keys

‘row’, ‘col’, ‘data’, each corresponds to a bxn tensor ‘shape’, containing the MxN shape of each tensor

Returns

list of scipy.sparse matrix. list indices represent batches.