encoDecoCell = tf.contrib.rnn.DropoutWrapper( AttributeError: module ‘tensorflow‘ has no attribute
报错描述:encoDecoCell = tf.contrib.rnn.DropoutWrapper( AttributeError: module ‘tensorflow’ has no attribute解决办法:tf.contrib.rnn.DropoutWrapper ,您可以将其更改为tf.compat.v1.nn.rnn_cell.DropoutWrapper