dgl.sparse.SparseMatrix.val

property SparseMatrix.val: Tensor

Returns the values of the non-zero elements.

Returns:

Values of the non-zero elements

Return type:

torch.Tensor