Skip to content

Commit

Permalink
[Doc] EdgeWeightNorm Fix doc (dmlc#3051)
Browse files Browse the repository at this point in the history
Co-authored-by: Jinjing Zhou <[email protected]>
  • Loading branch information
europeanplaice and VoVAllen authored Jun 23, 2021
1 parent e667545 commit 5961c14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/dgl/nn/pytorch/conv/graphconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 5961c14

Please sign in to comment.