Unverified Commit 5961c140 authored by Tomohiro Endo's avatar Tomohiro Endo Committed by GitHub
Browse files

[Doc] EdgeWeightNorm Fix doc (#3051)


Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
parent e667545d
...@@ -21,12 +21,12 @@ class EdgeWeightNorm(nn.Module): ...@@ -21,12 +21,12 @@ class EdgeWeightNorm(nn.Module):
Mathematically, setting ``norm='both'`` yields the following normalization term: 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}}) 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: And, setting ``norm='right'`` yields the following normalization term:
.. math: .. math::
c_{ji} = (\sum_{k\in\mathcal{N}(i)}}e_{ki}) 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`. where :math:`e_{ji}` is the scalar weight on the edge from node :math:`j` to node :math:`i`.
......
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