dgl.sparse.DiagMatrix.val

property DiagMatrix.val

Returns the values of the non-zero elements.

Returns

Values of the non-zero elements

Return type

torch.Tensor