scipy.sparse.dok_matrix.

get_shape#

dok_matrix.get_shape()[source]#

取得稀疏矩陣的形狀。