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
5cdf7cfa
Unverified
Commit
5cdf7cfa
authored
Jul 15, 2021
by
Rhett Ying
Committed by
GitHub
Jul 15, 2021
Browse files
[Doc] refine metis part of dgl.reorder_graph() (#3136)
Co-authored-by:
Mufei Li
<
mufeili1996@gmail.com
>
parent
3f6f6941
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/dgl/transform.py
python/dgl/transform.py
+2
-1
No files found.
python/dgl/transform.py
View file @
5cdf7cfa
...
...
@@ -2945,7 +2945,8 @@ def reorder_graph(g, node_permute_algo='rcmk', edge_permute_algo='src',
* ``metis``: Use the :func:`~dgl.metis_partition_assignment` function
to partition the input graph, which gives a cluster assignment of each node.
DGL then sorts the assignment array so the new node order will put nodes of
the same cluster together.
the same cluster together. Please note that the generated nodes permutation
of ``metis`` is non-deterministic due to algorithm's nature.
* ``custom``: Reorder the graph according to the user-provided node permutation
array (provided in :attr:`permute_config`).
edge_permute_algo: str, optional
...
...
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