dgl.sparse.SparseMatrix.row

property SparseMatrix.row: Tensor

Returns the row indices of the non-zero elements.

Returns:

Row indices of the non-zero elements

Return type:

torch.Tensor