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
707334ce
Commit
707334ce
authored
Jan 10, 2019
by
brett koonce
Committed by
Quan (Andy) Gan
Jan 10, 2019
Browse files
minor spelling tweaks (#349)
* minor spelling tweaks * Update CONTRIBUTORS.md
parent
192bd952
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tutorials/models/2_small_graph/3_tree-lstm.py
tutorials/models/2_small_graph/3_tree-lstm.py
+1
-1
tutorials/models/3_generative_model/5_dgmg.py
tutorials/models/3_generative_model/5_dgmg.py
+1
-1
No files found.
tutorials/models/2_small_graph/3_tree-lstm.py
View file @
707334ce
...
@@ -204,7 +204,7 @@ class TreeLSTMCell(nn.Module):
...
@@ -204,7 +204,7 @@ class TreeLSTMCell(nn.Module):
# *simultaneously*.
# *simultaneously*.
#
#
# In the case of Tree-LSTM, messages start from leaves of the tree, and
# In the case of Tree-LSTM, messages start from leaves of the tree, and
# prop
o
gate/processed upwards until they reach the roots. A visulization
# prop
a
gate/processed upwards until they reach the roots. A visu
a
lization
# is as follows:
# is as follows:
#
#
# .. figure:: https://i.loli.net/2018/11/09/5be4b5d2df54d.gif
# .. figure:: https://i.loli.net/2018/11/09/5be4b5d2df54d.gif
...
...
tutorials/models/3_generative_model/5_dgmg.py
View file @
707334ce
...
@@ -198,7 +198,7 @@ def forward_train(self, actions):
...
@@ -198,7 +198,7 @@ def forward_train(self, actions):
- Contains a_1, ..., a_T described above
- Contains a_1, ..., a_T described above
- self.prepare_for_train()
- self.prepare_for_train()
- Initializes self.action_step to be 0, which will get
- Initializes self.action_step to be 0, which will get
incremented by 1 everytime it is called.
incremented by 1 every
time it is called.
- Initializes objects recording log p(a_t|a_1,...a_{t-1})
- Initializes objects recording log p(a_t|a_1,...a_{t-1})
Returns
Returns
...
...
Prev
1
2
Next
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