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
ModelZoo
ResNet50_tensorflow
Commits
29881fb4
Commit
29881fb4
authored
Apr 02, 2017
by
Neal Wu
Browse files
Improved the spacing on the comment
parent
d86fb5fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tutorials/rnn/ptb/ptb_word_lm.py
tutorials/rnn/ptb/ptb_word_lm.py
+2
-2
No files found.
tutorials/rnn/ptb/ptb_word_lm.py
View file @
29881fb4
...
@@ -147,8 +147,8 @@ class PTBModel(object):
...
@@ -147,8 +147,8 @@ class PTBModel(object):
# The alternative version of the code below is:
# The alternative version of the code below is:
#
#
# inputs = tf.unstack(inputs, num=num_steps, axis=1)
# inputs = tf.unstack(inputs, num=num_steps, axis=1)
# outputs, state = tf.contrib.rnn.static_rnn(
cell, inputs,
# outputs, state = tf.contrib.rnn.static_rnn(
#
initial_state=self._initial_state)
#
cell, inputs,
initial_state=self._initial_state)
outputs
=
[]
outputs
=
[]
state
=
self
.
_initial_state
state
=
self
.
_initial_state
with
tf
.
variable_scope
(
"RNN"
):
with
tf
.
variable_scope
(
"RNN"
):
...
...
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