topk_diagzero#

hypercoil.functional.sparse.topk_diagzero(input: BCOO) BCOO[source]#

Zero out the diagonal of a top-k sparse matrix.