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
2952f3c4
Unverified
Commit
2952f3c4
authored
Mar 29, 2021
by
Mufei Li
Committed by
GitHub
Mar 29, 2021
Browse files
Update subgraph.py (#2784)
Co-authored-by:
Zihao Ye
<
expye@outlook.com
>
parent
a655123b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/subgraph.py
python/dgl/subgraph.py
+1
-1
No files found.
python/dgl/subgraph.py
View file @
2952f3c4
...
...
@@ -181,7 +181,7 @@ def edge_subgraph(graph, edges, preserve_nodes=False, store_ids=True):
If the graph is homogeneous, one can directly pass the above formats.
Otherwise, the argument must be a dictionary with keys being edge types
and values being the
node
s.
and values being the
edge ID
s.
preserve_nodes : bool, optional
If True, do not relabel the incident nodes and remove the isolated nodes
in the extracted subgraph. (Default: False)
...
...
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