scipy.sparse.bsr_matrix.nnz

property bsr_matrix.nnz

存储值的数量,包括显式零。

参见

count_nonzero

非零条目数