scipy.sparse
bsr_matrix.
shape
Get shape of a matrix.
scipy.sparse.bsr_matrix
scipy.sparse.bsr_matrix.nnz