scipy.sparse.dia_matrix.

设置形状#

dia_matrix.set_shape(shape)[源代码]#

就地设置矩阵的形状