Skip to content

Conversation

@ineWsTut
Copy link
Contributor

edit for TF1.0
tf.concat
biDirectionalRNN

@zsdonghao
Copy link
Member

@ssdf93 Many thanks, for compatibility with old version, could you change a little bit as follow and push again?~

if tf.__version__ <= "0.12":  # TF 0.10, 0.11, 0.12
        bidirectional_rnn_fn = tf.nn.bidirectional_rnn
else: # TF 1.0
        bidirectional_rnn_fn = tf.contrib.rnn.static_bidirectional_rnn
outputs, fw_state, bw_state = bidirectional_rnn_fn(....

@zsdonghao zsdonghao merged commit e4114f9 into tensorlayer:master Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants