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
3c8382f6
Unverified
Commit
3c8382f6
authored
Mar 14, 2021
by
鄢振宇Michael Yan
Committed by
GitHub
Mar 14, 2021
Browse files
Fix typos in `zero-in-degree` (#2750)
parent
63d94f61
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
32 additions
and
32 deletions
+32
-32
python/dgl/nn/mxnet/conv/agnnconv.py
python/dgl/nn/mxnet/conv/agnnconv.py
+2
-2
python/dgl/nn/mxnet/conv/edgeconv.py
python/dgl/nn/mxnet/conv/edgeconv.py
+2
-2
python/dgl/nn/mxnet/conv/gatconv.py
python/dgl/nn/mxnet/conv/gatconv.py
+2
-2
python/dgl/nn/mxnet/conv/gmmconv.py
python/dgl/nn/mxnet/conv/gmmconv.py
+2
-2
python/dgl/nn/mxnet/conv/graphconv.py
python/dgl/nn/mxnet/conv/graphconv.py
+2
-2
python/dgl/nn/mxnet/conv/sgconv.py
python/dgl/nn/mxnet/conv/sgconv.py
+2
-2
python/dgl/nn/pytorch/conv/agnnconv.py
python/dgl/nn/pytorch/conv/agnnconv.py
+2
-2
python/dgl/nn/pytorch/conv/dotgatconv.py
python/dgl/nn/pytorch/conv/dotgatconv.py
+2
-2
python/dgl/nn/pytorch/conv/edgeconv.py
python/dgl/nn/pytorch/conv/edgeconv.py
+2
-2
python/dgl/nn/pytorch/conv/gatconv.py
python/dgl/nn/pytorch/conv/gatconv.py
+2
-2
python/dgl/nn/pytorch/conv/gmmconv.py
python/dgl/nn/pytorch/conv/gmmconv.py
+2
-2
python/dgl/nn/pytorch/conv/graphconv.py
python/dgl/nn/pytorch/conv/graphconv.py
+2
-2
python/dgl/nn/pytorch/conv/sgconv.py
python/dgl/nn/pytorch/conv/sgconv.py
+2
-2
python/dgl/nn/tensorflow/conv/gatconv.py
python/dgl/nn/tensorflow/conv/gatconv.py
+2
-2
python/dgl/nn/tensorflow/conv/graphconv.py
python/dgl/nn/tensorflow/conv/graphconv.py
+2
-2
python/dgl/nn/tensorflow/conv/sgconv.py
python/dgl/nn/tensorflow/conv/sgconv.py
+2
-2
No files found.
python/dgl/nn/mxnet/conv/agnnconv.py
View file @
3c8382f6
...
@@ -54,8 +54,8 @@ class AGNNConv(nn.Block):
...
@@ -54,8 +54,8 @@ class AGNNConv(nn.Block):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Example
Example
...
...
python/dgl/nn/mxnet/conv/edgeconv.py
View file @
3c8382f6
...
@@ -58,8 +58,8 @@ class EdgeConv(nn.Block):
...
@@ -58,8 +58,8 @@ class EdgeConv(nn.Block):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/mxnet/conv/gatconv.py
View file @
3c8382f6
...
@@ -74,8 +74,8 @@ class GATConv(nn.Block):
...
@@ -74,8 +74,8 @@ class GATConv(nn.Block):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/mxnet/conv/gmmconv.py
View file @
3c8382f6
...
@@ -67,8 +67,8 @@ class GMMConv(nn.Block):
...
@@ -67,8 +67,8 @@ class GMMConv(nn.Block):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/mxnet/conv/graphconv.py
View file @
3c8382f6
...
@@ -70,8 +70,8 @@ class GraphConv(gluon.Block):
...
@@ -70,8 +70,8 @@ class GraphConv(gluon.Block):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/mxnet/conv/sgconv.py
View file @
3c8382f6
...
@@ -62,8 +62,8 @@ class SGConv(nn.Block):
...
@@ -62,8 +62,8 @@ class SGConv(nn.Block):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Example
Example
...
...
python/dgl/nn/pytorch/conv/agnnconv.py
View file @
3c8382f6
...
@@ -54,8 +54,8 @@ class AGNNConv(nn.Module):
...
@@ -54,8 +54,8 @@ class AGNNConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Example
Example
...
...
python/dgl/nn/pytorch/conv/dotgatconv.py
View file @
3c8382f6
...
@@ -62,8 +62,8 @@ class DotGatConv(nn.Module):
...
@@ -62,8 +62,8 @@ class DotGatConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/pytorch/conv/edgeconv.py
View file @
3c8382f6
...
@@ -57,8 +57,8 @@ class EdgeConv(nn.Module):
...
@@ -57,8 +57,8 @@ class EdgeConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/pytorch/conv/gatconv.py
View file @
3c8382f6
...
@@ -73,8 +73,8 @@ class GATConv(nn.Module):
...
@@ -73,8 +73,8 @@ class GATConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/pytorch/conv/gmmconv.py
View file @
3c8382f6
...
@@ -66,8 +66,8 @@ class GMMConv(nn.Module):
...
@@ -66,8 +66,8 @@ class GMMConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/pytorch/conv/graphconv.py
View file @
3c8382f6
...
@@ -211,8 +211,8 @@ class GraphConv(nn.Module):
...
@@ -211,8 +211,8 @@ class GraphConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/pytorch/conv/sgconv.py
View file @
3c8382f6
...
@@ -59,8 +59,8 @@ class SGConv(nn.Module):
...
@@ -59,8 +59,8 @@ class SGConv(nn.Module):
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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Example
Example
...
...
python/dgl/nn/tensorflow/conv/gatconv.py
View file @
3c8382f6
...
@@ -75,8 +75,8 @@ class GATConv(layers.Layer):
...
@@ -75,8 +75,8 @@ class GATConv(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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/tensorflow/conv/graphconv.py
View file @
3c8382f6
...
@@ -72,8 +72,8 @@ class GraphConv(layers.Layer):
...
@@ -72,8 +72,8 @@ class GraphConv(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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Examples
Examples
...
...
python/dgl/nn/tensorflow/conv/sgconv.py
View file @
3c8382f6
...
@@ -61,8 +61,8 @@ class SGConv(layers.Layer):
...
@@ -61,8 +61,8 @@ class SGConv(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 zer
e
-in-degree nodes manually.
to ``True`` for those cases to unblock the code and handle zer
o
-in-degree nodes manually.
A common practise to handle this is to filter out the nodes with zer
e
-in-degree when use
A common practise to handle this is to filter out the nodes with zer
o
-in-degree when use
after conv.
after conv.
Example
Example
...
...
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