scipy.sparse.bsr_matrix.

size#

property bsr_matrix.size#

Number of stored values, including explicit zeros.

This is the same as nnz. Implicit zeros are not counted.

See also

nnz

Number of stored values, including explicit zeros.

count_nonzero

Number of non-zero values.