小编ven*_*esh的帖子

AttributeError: 模块“tensorflow”没有属性“enable_eager_execution”

我只是尝试在我的 shell 中启用 Eager Execution,这实际上显示了一个错误:

AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'
Run Code Online (Sandbox Code Playgroud)

我的 Tensorflow 版本是 2.0

图像显示了我的 tensorflow 版本

谁能告诉我为什么我得到这个...

提前致谢

python machine-learning anaconda tensorflow tensorflow2.0

7
推荐指数
2
解决办法
2万
查看次数