TensorFlow 1.9.0-rc0 已发布。
该版本带来了不少改进和新特性:
- Update tf.keras to the Keras 2.1.6 API.
tfe.Networkis deprecated. Please inherit fromtf.keras.Model.- Adding support of core feature columns and losses to gradient boosted trees estimators.
- The distributions.Bijector API supports broadcasting for Bijectors with new API changes. See here for more details.
- ed variable names have changed in the following conditions:
- Using
tf.keras. swith custom variable scopes. - Using
tf. sin a subclassedtf.keras.Modelclass. See here for more details
- Using
可以看到,1.9.0-rc0 已将 tf.keras 升级至 Keras 2.1.6 API,并且已弃用 tfe.Network,需要从 tf.keras.Model 进行继承。
也有一些破坏性的变更:
- If you're opening empty variable scopes; replace
variable_scope('', ...) byvariable_scope(tf.get_variable_scope(), ...).
源码下载和详细更新说明请查看 https://github.com/tensorflow/tensorflow/releases/tag/v1.9.0-rc0
继续阅读与本文标签相同的文章
上一篇 :
mysql 数据库用户管理实例介绍
-
阿里巴巴20周年年会结束以后,你知道发生了什么吗?
2026-05-18栏目: 教程
-
13年IT老兵:闷头做智能家居体系容易走火入魔
2026-05-18栏目: 教程
-
今天起,我要成为这样的阿里巴巴
2026-05-18栏目: 教程
-
中国智能家居的蝴蝶效应
2026-05-18栏目: 教程
-
2019年回顾 - Joomla前12名SEO扩展和插件
2026-05-18栏目: 教程
