dgl.sparse.SparseMatrix.val

property SparseMatrix.val: Tensor

返回非零元素的值。

返回:

非零元素的值

返回类型:

torch.Tensor