dgl.sparse.SparseMatrix.val

property SparseMatrix.val: Tensor

返回非零元素的值。

Returns:

非零元素的值

Return type:

torch.Tensor