Unverified Commit c7449818 authored by Wilfried L. Bounsi's avatar Wilfried L. Bounsi Committed by GitHub
Browse files

Update documentation for remove_edges function (#3123)


Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
parent 36418292
...@@ -1627,7 +1627,7 @@ def remove_edges(g, eids, etype=None, store_ids=False): ...@@ -1627,7 +1627,7 @@ def remove_edges(g, eids, etype=None, store_ids=False):
... }) ... })
>>> g = dgl.remove_edges(g, torch.tensor([0, 1]), 'plays') >>> g = dgl.remove_edges(g, torch.tensor([0, 1]), 'plays')
>>> g.edges('all', etype='plays') >>> g.edges('all', etype='plays')
(tensor([0, 1]), tensor([0, 0]), tensor([0, 1])) (tensor([1, 2]), tensor([1, 1]), tensor([0, 1]))
See Also See Also
-------- --------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment