dgl.sparse.SparseMatrix.to_denseΒΆ

SparseMatrix.to_dense()torch.Tensor[source]ΒΆ

Returns a copy in dense matrix format of the sparse matrix.

Returns

The copy in dense matrix format

Return type

torch.Tensor