dgl.sparse.SparseMatrix.row

property SparseMatrix.row: Tensor

返回非零元素的行索引。

Returns:

非零元素的行索引

Return type:

torch.Tensor