查看tensorflow版本的方法有哪些
导读:使用命令行查看tensorflow版本:在命令行窗口中输入以下命令可以查看安装的tensorflow版本: python -c "import tensorflow as tf; print(tf.__version__ " 使用py...
- 使用命令行查看tensorflow版本:在命令行窗口中输入以下命令可以查看安装的tensorflow版本:
python -c "import tensorflow as tf;
print(tf.__version__)"
- 使用python代码查看tensorflow版本:在python脚本或交互式环境中,可以通过以下代码查看tensorflow版本:
import tensorflow as tf
print(tf.__version__)
-
在tensorflow官方网站查看最新版本:可以在tensorflow官方网站上查看最新发布的tensorflow版本,网址为:https://www.tensorflow.org
-
在github上查看tensorflow的发布版本:可以在tensorflow的github仓库上查看最新发布的tensorflow版本,网址为:https://github.com/tensorflow/tensorflow/releases
-
使用pip查看tensorflow版本:在命令行窗口中输入以下命令可以查看已安装的tensorflow版本:
pip show tensorflow
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: 查看tensorflow版本的方法有哪些
本文地址: https://pptw.com/jishu/648196.html