dgl.sparse.SparseMatrix.row

property SparseMatrix.row: Tensor

返回非零元素的行索引。

返回:

非零元素的行索引

返回类型:

torch.Tensor