一、Breaking Changes
1、預編制的二進制文件是針對CUDA 9 和 cuDNN 7制定的。
2、Linux的二進制文件是使用 ubuntu 16構建的,在使用ubuntu 14引入glibc的時候,可能會出現不兼容的問題。
3、從1.6的版本開始,預編譯的二進制文件會使用AVX指令,可能會破壞CPU上的TF。(This may break TF on older CPUs)
二、Major Features And Improvements
1、Eager execution(預覽版本可用)
Eager execution是TensorFlow的一個實驗性的接口,提供了一個強制性的編程風格。當啓用Eager execution時,TensorFlow操作立即執行; 不用執行一個預先構建的圖 Session.run()。
例子:
old:
x = tf.placeholder(tf.float32, shape=[1, 1])
m = tf.matmul(x, x)
with tf.Session() as sess:
print(sess.run(m, feed_dict={x: [[2.]]}))
# Will print [[4.]]
now:
x = [[2.]]
m = tf.matmul(x, x)
print(m)
注意:
1)這個功能還處於早期階段,在分佈式和多GPU培訓和CPU性能的順利支持方面還有待完成。
2)由於是預覽版本,以後的API和性能特徵可能會發生變化。
2、TensorFlow Lite,開發預覽版本現在可用。
3、支持CUDA 9和cuDNN 7。
三、Bug Fixes and Other Changes
1、auto_correlation添加到tf.contrib.distributions
2、添加DenseFlipout概率層
3、重新標準化DenseVariational爲其他概率圖層的更簡單的模板
4、使tf.contrib.distributions中的QuadratureCompound類支持批處理。
5、Stream::BlockHostUntilDone 的返回是Status而不是bool。
6、爲GCS文件系統定製請求超時。
官網版本介紹:https://github.com/tensorflow/tensorflow/releases
源代碼下載地址:https://github.com/tensorflow/tensorflow/releases/tag/v1.5.0-rc0