原代码:from tensorflow.contrib.rnn import LSTMCell

替换成:LSTMCell=tf.compat.v1.nn.rnn_cell.BasicLSTMCell

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐