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