Unverified Commit 4dddde67 authored by 鄢振宇Michael Yan's avatar 鄢振宇Michael Yan Committed by GitHub
Browse files

[Doc] Fix a typo in edgeconv.py (#5643)


Co-authored-by: default avatarMufei Li <mufeili1996@gmail.com>
parent 88587255
...@@ -56,8 +56,8 @@ class EdgeConv(layers.Layer): ...@@ -56,8 +56,8 @@ class EdgeConv(layers.Layer):
Calling ``add_self_loop`` will not work for some graphs, for example, heterogeneous graph Calling ``add_self_loop`` will not work for some graphs, for example, heterogeneous graph
since the edge type can not be decided for self_loop edges. Set ``allow_zero_in_degree`` since the edge type can not be decided for self_loop edges. Set ``allow_zero_in_degree``
to ``True`` for those cases to unblock the code and handle zere-in-degree nodes manually. to ``True`` for those cases to unblock the code and handle zero-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zere-in-degree when use A common practise to handle this is to filter out the nodes with zero-in-degree when use
after conv. after conv.
""" """
......
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