Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'tensorflow.python.ops.rnn_cell_impl' has no attribute '_Linear' #3

Open
fengdoudou1895 opened this issue May 21, 2018 · 3 comments

Comments

@fengdoudou1895
Copy link

seq2seq.py的第15行
Linear = rnn_cell_impl._Linear # pylint: disable=protected-access,invalid-name

@yjyGo
Copy link

yjyGo commented Apr 1, 2019

在文件前面粘贴下面代码
from tensorflow.contrib.rnn.python.ops import core_rnn_cell
然后
Linear =core_rnn_cell._Linear # pylint: disable=protected-access,invalid-name

@qinhuangdaoStation
Copy link

thanks,got it!
@yjyGo

@fengdoudou1895
Copy link
Author

非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants