Home > other >  About BiLSTM, consult how to upgrade the code from TensorFlow 1 TensorFlow2.0
About BiLSTM, consult how to upgrade the code from TensorFlow 1 TensorFlow2.0

Time:10-06

Look at a paper code, but the author TensorFlow version is 1.8, python is 2.7, and I was TensorFlow2.0, python is 3.7, so want to upgrade the code, this is not clear how to change, please supervise your bosses grant instruction

CodePudding user response:

TensorFlow1 that bidirectional_dynamic_rnn () has been deprecated, TensorFlow2 is in keras. The layers. The Bidirectional (keras. The layers. The RNN (cell), but failed to understand how to change
  • Related