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
fe44ffe5
Unverified
Commit
fe44ffe5
authored
Mar 01, 2019
by
Minjie Wang
Committed by
GitHub
Mar 01, 2019
Browse files
[Doc] fix equation in nn.conv (#425)
parent
dba2a5b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
python/dgl/nn/mxnet/conv.py
python/dgl/nn/mxnet/conv.py
+1
-1
python/dgl/nn/pytorch/conv.py
python/dgl/nn/pytorch/conv.py
+1
-1
No files found.
python/dgl/nn/mxnet/conv.py
View file @
fe44ffe5
...
@@ -15,7 +15,7 @@ class GraphConv(gluon.Block):
...
@@ -15,7 +15,7 @@ class GraphConv(gluon.Block):
and can be described as below:
and can be described as below:
.. math::
.. math::
h_i^{(l+1)} = \sigma(b^{(l)} + \sum_{j\in\mathcal{N}(i)}\frac{1}{c_{ij}}
W
^{(l)}
h_j
^{(l)})
h_i^{(l+1)} = \sigma(b^{(l)} + \sum_{j\in\mathcal{N}(i)}\frac{1}{c_{ij}}
h_j
^{(l)}
W
^{(l)})
where :math:`\mathcal{N}(i)` is the neighbor set of node :math:`i`. :math:`c_{ij}` is equal
where :math:`\mathcal{N}(i)` is the neighbor set of node :math:`i`. :math:`c_{ij}` is equal
to the product of the square root of node degrees:
to the product of the square root of node degrees:
...
...
python/dgl/nn/pytorch/conv.py
View file @
fe44ffe5
...
@@ -16,7 +16,7 @@ class GraphConv(nn.Module):
...
@@ -16,7 +16,7 @@ class GraphConv(nn.Module):
and can be described as below:
and can be described as below:
.. math::
.. math::
h_i^{(l+1)} = \sigma(b^{(l)} + \sum_{j\in\mathcal{N}(i)}\frac{1}{c_{ij}}
W
^{(l)}
h_j
^{(l)})
h_i^{(l+1)} = \sigma(b^{(l)} + \sum_{j\in\mathcal{N}(i)}\frac{1}{c_{ij}}
h_j
^{(l)}
W
^{(l)})
where :math:`\mathcal{N}(i)` is the neighbor set of node :math:`i`. :math:`c_{ij}` is equal
where :math:`\mathcal{N}(i)` is the neighbor set of node :math:`i`. :math:`c_{ij}` is equal
to the product of the square root of node degrees:
to the product of the square root of node degrees:
...
...
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