scipy.sparse.csr_matrix.

set_shape#

csr_matrix.set_shape(shape)[source]#

就地设置矩阵的形状