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
5961c140
Unverified
Commit
5961c140
authored
Jun 23, 2021
by
Tomohiro Endo
Committed by
GitHub
Jun 23, 2021
Browse files
[Doc] EdgeWeightNorm Fix doc (#3051)
Co-authored-by:
Jinjing Zhou
<
VoVAllen@users.noreply.github.com
>
parent
e667545d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/dgl/nn/pytorch/conv/graphconv.py
python/dgl/nn/pytorch/conv/graphconv.py
+2
-2
No files found.
python/dgl/nn/pytorch/conv/graphconv.py
View file @
5961c140
...
...
@@ -21,12 +21,12 @@ class EdgeWeightNorm(nn.Module):
Mathematically, setting ``norm='both'`` yields the following normalization term:
.. math:
.. math:
:
c_{ji} = (\sqrt{\sum_{k\in\mathcal{N}(j)}e_{jk}}\sqrt{\sum_{k\in\mathcal{N}(i)}e_{ki}})
And, setting ``norm='right'`` yields the following normalization term:
.. math:
.. math:
:
c_{ji} = (\sum_{k\in\mathcal{N}(i)}}e_{ki})
where :math:`e_{ji}` is the scalar weight on the edge from node :math:`j` to node :math:`i`.
...
...
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