查看linux服务器上Tensorflow的版本和位置

Posted 谁还不是个小仙女呀!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了查看linux服务器上Tensorflow的版本和位置相关的知识,希望对你有一定的参考价值。

查看tensorflow版本,可以在终端输入查询命令如下:

python
import tensorflow as tf
tf.__version__

查询tensorflow安装路径为:

tf.__path__

查询结果为:

 

以上是关于查看linux服务器上Tensorflow的版本和位置的主要内容,如果未能解决你的问题,请参考以下文章