scipy.sparse.csr_matrix.

scipy.sparse.csr_matrix.size#

property csr_matrix.size#

存储值的数量。

参见

count_nonzero

非零值的数量。