TensorFlow 1.9.0-rc0 升级 tf.keras 至 Keras 2.1.6 API

栏目: 软件资讯 · 发布时间: 7年前

内容简介:TensorFlow 1.9.0-rc0 已发布。 该版本带来了不少改进和新特性: Update tf.keras to the Keras 2.1.6 API. tfe.Network is deprecated. Please inherit from tf.keras.Model. Adding support of core feature ...

TensorFlow 1.9.0-rc0 已发布。

该版本带来了不少改进和新特性:

  • Update tf.keras to the Keras 2.1.6 API.

  • tfe.Network is deprecated. Please inherit from tf.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.

  • Layered variable names have changed in the following conditions:

    • Using tf.keras.layers with custom variable scopes.

    • Using tf.layers in a subclassed tf.keras.Model class. See here for more details

可以看到,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('', ...) by variable_scope(tf.get_variable_scope(), ...).

源码下载和详细更新说明请查看 https://github.com/tensorflow/tensorflow/releases/tag/v1.9.0-rc0


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《TensorFlow 1.9.0-rc0 升级 tf.keras 至 Keras 2.1.6 API》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Ajax与PHP Web开发

Ajax与PHP Web开发

达里 / 王德民、王新颖、刘昕 / 人民邮电出版社 / 2007-4 / 39.00元

本书指导读者使用Ajax、PHP及其他相关技术建立快速响应的网页。本书不仅从Ajax的客户端和服务器端技术两个方面指导读者逐步掌握Ajax基础应用,还通过实例详细演示了Ajax表单验证、Ajax聊天室、Ajax Suggest、使用SVG实现的Ajax实时绘图程序、Ajax Grid、Ajax RSS阅读器和Ajax拖放等的实现过程。同时还介绍了在Windows和UNIX系统下的应用程序环境配置和......一起来看看 《Ajax与PHP Web开发》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

随机密码生成器
随机密码生成器

多种字符组合密码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具