Commit d86fb5fb authored by GBLin's avatar GBLin Committed by Neal Wu
Browse files

Make comment in ptb_word_lm compatible with TF 1.0

parent c30f6580
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment