tf=1.9AttributeError: module 'tensorflow.contrib.rnn.python.ops.rnn_cell' has no attribute '_linear'

个人tf=1.9 的环境,原代码是1.12,结果报错了。python from tensorflow.contrib.rnn.python.ops import rnn_cell linear = rnn_cell._linear # pylint: disable=protected-accessgit 这个暂时是无解。不过因为这个函数实现的简单的线性求和,所以能够手动在程序中进行修改。gith
相关文章
相关标签/搜索