scipy.sparse.dok_matrix.set_shape

dok_matrix.set_shape(shape)[源代码]

看见 reshape