"git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "43d79534d9fbbc4bcfe8bcdecca02644c9844f27"
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): ...@@ -147,7 +147,7 @@ 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.nn.rnn(cell, inputs, # outputs, state = tf.contrib.rnn.static_rnn(cell, inputs,
# initial_state=self._initial_state) # initial_state=self._initial_state)
outputs = [] outputs = []
state = self._initial_state 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