Reputation: 117
I used 'tf.contrib.seq2seq.dynamic_decoder' in tensorflow1.0 and now I want to use it in tensorflow2.0; but I don't know how to import it in tensorflow2.0
Upvotes: 1
Views: 649
Reputation: 6034
In TensorFlow 2.0, seq2seq
module has been moved to TensorFlow addons
To install it run:
pip install tensorflow_addons
Here is the migration guide for you to upgrade your code.
Upvotes: 1