scipy.sparse.coo_matrix.

set_shape#

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

就地設定矩陣的形狀