"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "5d4f723b57c4afc668dfde4d9ce3ef79fa617c8e"
Unverified Commit 59aefe6e authored by Da Zheng's avatar Da Zheng Committed by GitHub
Browse files

[Doc] write warning for remove_edges. (#1509)



* write warning for remove_edges.

* fix.
Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
parent e5b10b10
...@@ -953,6 +953,10 @@ def remove_edges(g, edge_ids): ...@@ -953,6 +953,10 @@ def remove_edges(g, edge_ids):
The nodes are preserved. The nodes are preserved.
Note: `remove_edges` is slow especially when removing a small number of edges from
a large graph. It creates a new graph with all remaining edges and return the new graph.
Please use it with caution especially when using it in mini-batch training.
Parameters Parameters
---------- ----------
graph : DGLHeteroGraph graph : DGLHeteroGraph
......
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