AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'BasicLSTMCell'

在windows上安裝了tensorflow1.2windows 寫一個RNN代碼測試的時候,出現錯誤函數 AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'BasicLSTMCell'測試   緣由是沒有BasicLSTMCell,tensorflow1.2.中改了函數位置,解決以下:get tf.nn.rnn_c
相關文章
相關標籤/搜索