ImportError: cannot import name 'newaxis' from 'tensorflow.python.ops.numpy_ops.np_ar
2022/5/5 1:12:43
本文主要是介绍ImportError: cannot import name 'newaxis' from 'tensorflow.python.ops.numpy_ops.np_ar,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
ImportError: cannot import name 'newaxis' from 'tensorflow.python.ops.numpy_ops.np_array_ops'
File "E:\Eprogramfiles\Anaconda3\lib\site-packages\nbeats_keras\model.py", line 4, in <module>
import tensorflow.experimental.numpy as tnp
File "E:\Eprogramfiles\Anaconda3\lib\site-packages\tensorflow\_api\v2\experimental\numpy\__init__.py", line 206, in <module>
from tensorflow.python.ops.numpy_ops.np_array_ops import newaxis
ImportError: cannot import name 'newaxis' from 'tensorflow.python.ops.numpy_ops.np_array_ops' (E:\Eprogramfiles\Anaconda3\lib\site-packages\tensorflow\python\ops\numpy_ops\np_array_ops.py)
from tensorflow.python.ops.numpy_ops.np_array_ops import newaxis
这篇关于ImportError: cannot import name 'newaxis' from 'tensorflow.python.ops.numpy_ops.np_ar的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-10-30tensorflow是什么-icode9专业技术文章分享
- 2024-10-15成功地使用本地的 NVIDIA GPU 运行 PyTorch 或 TensorFlow
- 2024-01-23供应链投毒预警 | 恶意Py包仿冒tensorflow AI框架实施后门投毒攻击
- 2024-01-19attributeerror: module 'tensorflow' has no attribute 'placeholder'
- 2024-01-19module 'tensorflow.compat.v2' has no attribute 'internal'
- 2023-07-17【2023年】第33天 Neural Networks and Deep Learning with TensorFlow
- 2023-07-10【2023年】第32天 Boosted Trees with TensorFlow 2.0(随机森林)
- 2023-07-09【2023年】第31天 Logistic Regression with TensorFlow 2.0(用TensorFlow进行逻辑回归)
- 2023-07-01【2023年】第30天 Supervised Learning with TensorFlow 2(用TensorFlow进行监督学习 2)
- 2023-06-18【2023年】第29天 Supervised Learning with TensorFlow 1(用TensorFlow进行监督学习 1)