scipy.sparse.spmatrix.

set_shape#

spmatrix.set_shape(shape)[原始碼]#

原地設定矩陣的形狀