1

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

vx2008
  • 95
  • 1
  • 1
  • 10

1 Answers1

1

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.

Prasad
  • 5,946
  • 3
  • 30
  • 36
  • Didn't get you? – Prasad Oct 09 '19 at 03:32
  • I am sorry for miss typed before and you have explained this matter so clear that I have got it; so thank you very much; Now I have some confused about detail of this function as which I have updated the question. – vx2008 Oct 09 '19 at 10:22