每晚安装TF是新的1.5 TF?

时间:2018-01-06 08:02:33

标签: tensorflow dynamic version

今天我听说有一个新版本的1.5 TF,它有很好的支持动态图。

我还发现有一种新的夜间安装方法。

所以这个夜间安装方法是安装新的版本TF?

chg0901@ubuntu:~$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2018-01-06 16:49:32.242801: I tensorflow/core/platform/s3/aws_logging.cc:53] Initializing Curl library
>>> print(tf.__version__)
1.6.0-dev20180105
>>> x = [[2.]]
>>> m = tf.matmul(x,x)
>>> print(m)
Tensor("MatMul:0", shape=(1, 1), dtype=float32)
>>> print(tf.Session().run(m))
2018-01-06 16:51:25.418750: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX FMA
[[ 4.]]

1 个答案:

答案 0 :(得分:1)

目前TF 1.5.0rc0已经发布。您可以通过以下命令安装最新版本的候选版本:

pip install tensorflow --pre

当您检查其版本时,您会看到如下内容:

> import tensorflow as tf
> tf.__version__
'1.5.0-rc0'

您所拥有的装置是每晚从主分店建造的“夜间”。您看到的版本字符串1.6.0-dev20180105表示下一次发布时间为1.6,它构建于2018-01-05

相关问题