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
43b9d40e
Unverified
Commit
43b9d40e
authored
Apr 11, 2022
by
Mufei Li
Committed by
GitHub
Apr 11, 2022
Browse files
[Doc] Fix Doc for EGNNConv (#3919)
Co-authored-by:
Minjie Wang
<
wmjlyjemaine@gmail.com
>
parent
01e50626
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
python/dgl/nn/pytorch/conv/egnnconv.py
python/dgl/nn/pytorch/conv/egnnconv.py
+4
-0
No files found.
python/dgl/nn/pytorch/conv/egnnconv.py
View file @
43b9d40e
...
@@ -10,9 +10,13 @@ class EGNNConv(nn.Module):
...
@@ -10,9 +10,13 @@ class EGNNConv(nn.Module):
Neural Networks <https://arxiv.org/abs/2102.09844>`__
Neural Networks <https://arxiv.org/abs/2102.09844>`__
.. math::
.. math::
m_{ij}=\phi_e(h_i^l, h_j^l, ||x_i^l-x_j^l||^2, a_{ij})
m_{ij}=\phi_e(h_i^l, h_j^l, ||x_i^l-x_j^l||^2, a_{ij})
x_i^{l+1} = x_i^l + C\sum_{j\in\mathcal{N}(i)}(x_i^l-x_j^l)\phi_x(m_{ij})
x_i^{l+1} = x_i^l + C\sum_{j\in\mathcal{N}(i)}(x_i^l-x_j^l)\phi_x(m_{ij})
m_i = \sum_{j\in\mathcal{N}(i)} m_{ij}
m_i = \sum_{j\in\mathcal{N}(i)} m_{ij}
h_i^{l+1} = \phi_h(h_i^l, m_i)
h_i^{l+1} = \phi_h(h_i^l, m_i)
where :math:`h_i`, :math:`x_i`, :math:`a_{ij}` are node features, coordinate
where :math:`h_i`, :math:`x_i`, :math:`a_{ij}` are node features, coordinate
...
...
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