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
c4989b40
Commit
c4989b40
authored
Sep 01, 2019
by
MilkshakeForReal
Committed by
Zihao Ye
Sep 01, 2019
Browse files
Update conv.py (#818)
parent
a9a0592c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/dgl/nn/pytorch/conv.py
python/dgl/nn/pytorch/conv.py
+2
-2
No files found.
python/dgl/nn/pytorch/conv.py
View file @
c4989b40
...
@@ -184,7 +184,7 @@ class GATConv(nn.Module):
...
@@ -184,7 +184,7 @@ class GATConv(nn.Module):
.. math::
.. math::
\alpha_{ij}^{l} & = \mathrm{softmax_i} (e_{ij}^{l})
\alpha_{ij}^{l} & = \mathrm{softmax_i} (e_{ij}^{l})
e_{ij}^{l} & = \mathrm{LeakyReLU}\left(\vec{a}^T [W h
^{I
} \| W h
^
{j}]\right)
e_{ij}^{l} & = \mathrm{LeakyReLU}\left(\vec{a}^T [W h
_{i
} \| W h
_
{j}]\right)
Parameters
Parameters
----------
----------
...
@@ -672,7 +672,7 @@ class SAGEConv(nn.Module):
...
@@ -672,7 +672,7 @@ class SAGEConv(nn.Module):
bias : bool
bias : bool
If True, adds a learnable bias to the output. Default: ``True``.
If True, adds a learnable bias to the output. Default: ``True``.
norm : callable activation function/layer or None, optional
norm : callable activation function/layer or None, optional
If not None, applies normalization
o
to the updated node features.
If not None, applies normalization to the updated node features.
activation : callable activation function/layer or None, optional
activation : callable activation function/layer or None, optional
If not None, applies an activation function to the updated node features.
If not None, applies an activation function to the updated node features.
Default: ``None``.
Default: ``None``.
...
...
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