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
d86fb5fb
Commit
d86fb5fb
authored
Apr 01, 2017
by
GBLin
Committed by
Neal Wu
Apr 02, 2017
Browse files
Make comment in ptb_word_lm compatible with TF 1.0
parent
c30f6580
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tutorials/rnn/ptb/ptb_word_lm.py
tutorials/rnn/ptb/ptb_word_lm.py
+1
-1
No files found.
tutorials/rnn/ptb/ptb_word_lm.py
View file @
d86fb5fb
...
...
@@ -147,7 +147,7 @@ class PTBModel(object):
# The alternative version of the code below is:
#
# inputs = tf.unstack(inputs, num=num_steps, axis=1)
# outputs, state = tf.
nn.
rnn(cell, inputs,
# outputs, state = tf.
contrib.rnn.static_
rnn(cell, inputs,
# initial_state=self._initial_state)
outputs
=
[]
state
=
self
.
_initial_state
...
...
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