scipy.sparse.dok_matrix.

get_shape#

dok_matrix.get_shape()[source]#

Get shape of a sparse matrix.