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