dgl.sparse.SparseMatrix.val

property SparseMatrix.val

Returns the values of the non-zero elements.

Returns

Values of the non-zero elements

Return type

torch.Tensor