Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
c7449818
Unverified
Commit
c7449818
authored
Jul 12, 2021
by
Wilfried L. Bounsi
Committed by
GitHub
Jul 12, 2021
Browse files
Update documentation for remove_edges function (#3123)
Co-authored-by:
Quan (Andy) Gan
<
coin2028@hotmail.com
>
parent
36418292
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/transform.py
python/dgl/transform.py
+1
-1
No files found.
python/dgl/transform.py
View file @
c7449818
...
...
@@ -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.edges('all', etype='plays')
(tensor([
0
,
1
]), tensor([
0
,
0
]), tensor([0, 1]))
(tensor([
1
,
2
]), tensor([
1
,
1
]), tensor([0, 1]))
See Also
--------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment