scipy.sparse.dok_matrix.

asfptype#

dok_matrix.asfptype()[source]#

将矩阵向上转型为浮点格式(如有必要)