Skip to content

Commit

Permalink
Make comment in ptb_word_lm compatible with TF 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GBLin authored and nealwu committed Apr 2, 2017
1 parent c30f658 commit d86fb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/rnn/ptb/ptb_word_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def attn_cell():
# 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
Expand Down

0 comments on commit d86fb5f

Please sign in to comment.