scipy.sparse.dok_matrix.asfptype

dok_matrix.asfptype()[源代码]

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