bsparse.BCOO.from_sparray#

classmethod BCOO.from_sparray(mat, sizes, symmetry=None)#

Creates a BCOO matrix from a scipy.sparse.sparray.