coo_to_csr

Contents

coo_to_csr#

class brainpy.math.sparse.coo_to_csr(pre_ids, post_ids, *, num_row)[source]#

convert pre_ids, post_ids to (indices, indptr).

Return type:

Tuple[Array, Array]