我正在研究以下tensorflow示例:显然是用tf v1编写的,因此我用v2升级脚本进行了升级,有三个主要的不一致之处:
ERROR: Using member tf.contrib.rnn.DropoutWrapper in deprecated module tf.contrib. tf.contrib.rnn.DropoutWrapper cannot be converted automatically. tf.contrib will not be distributed with TensorFlow 2.0, please consider an alternative in