scipy.sparse.dia_matrix.shape

property dia_matrix.shape

获得矩阵的形状。