查看tensorflow安装版本

参考https://blog.csdn.net/qq_40614981/article/details/83035783

自己实操

由于tensorflow版本不同,可能一些函数的调用也有变换,这时候可能需要查看tensorflow版本,可以在终端输入查询命令如下:

python

import tensorflow as tf

tf.__version__

查询tensorflow安装路径为:

tf.__path__

查询结果如下

发布了133 篇原创文章 · 获赞 85 · 访问量 162万+

猜你喜欢

转载自blog.csdn.net/studyvcmfc/article/details/104926312