tensorflow提示出错module 'tensorflow.contrib' has no attribute 'bidirectional_rnn'

运行报错
 File "model.py", line 21, in __init__
    output, _, _ = tf.contrib.static_bidirectional_rnn(....)

AttributeError: module 'tensorflow.contrib' has no attribute 'bidirectional_rnn'  


解决方案:
tf.contrib.rnn.static_bidirectional_rnn()(失败)

tf.nn.bidirectional_dynamic_rnn()(成功)



阅读更多
个人分类: python
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

tensorflow提示出错module 'tensorflow.contrib' has no attribute 'bidirectional_rnn'

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭