topk_to_bcoo#

hypercoil.functional.sparse.topk_to_bcoo(tensor: BCOO) Tensor[source]#

Convert a top-k format BCOO sparse matrix to an unstructured BCOO format sparse matrix.