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) 就好
相关文章
相关标签/搜索