ubuntu 16.04 python+tensorflow安装路径查看

因为tensorflow版本不一样,可能一些函数的调用也有变换,这时候可能须要查看tensorflow版本,能够在终端输入查询命令以下:python python import tensorflow as tf tf.__version__ 查询tensorflow安装路径为:函数 tf.__path__ python安装路径查看code import sys print sys.path
相关文章
相关标签/搜索