dgl.sparse.SparseMatrix.row

property SparseMatrix.row

Returns the row indices of the non-zero elements.

Returns

Row indices of the non-zero elements

Return type

torch.Tensor