RNN調試錯誤:lstm_cell = tf.contrib.rnn.core_rnn_cell.BasicLSTMCell(lstm_size) 方法已失效

調試遞歸神經網絡(RNN)的時候出現如下錯誤: ### module 'tensorflow.contrib.rnn' has no attribute 'core_rnn_cell' 經檢查是tf.contrib.rnn.core_rnn_cell.BasicLSTMCell(lstm_size) 此方法已被禁用,採用了新的方法:rnn.BasicLSTMCell(lstm_size)    使
相關文章
相關標籤/搜索