tensorflow1.2中出現錯誤問題AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'BasicLSTMCell'

   (1) AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'BasicLSTMCell'python 緣由是沒有BasicLSTMCell,tensorflow1.2.1中改了函數位置函數 改成tf.nn.rnn_cell.BasicLSTMCell(num_hidden, forget_bias=1.0) 就好
相關文章
相關標籤/搜索