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


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

python
import tensorflow as tf
tf.__version__

查询tensorflow安装路径为:

tf.__path__

查询结果为:

相关