dgl.sparse.SparseMatrix.to_dense

SparseMatrix.to_dense() Tensor[源码]

以密集矩阵格式返回稀疏矩阵的副本。

返回

密集矩阵格式的副本

返回类型

torch.Tensor