内容简介: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.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.
Layered variable names have changed in the following conditions:
Using
tf.keras.layerswith custom variable scopes.Using
tf.layersin a subclassedtf.keras.Modelclass. 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('', ...) byvariable_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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
JavaScript语言精髓与编程实践
周爱民 / 电子工业出版社 / 2012-3 / 79.00元
《JavaScript语言精髓与编程实践(第2版)》详细讲述JavaScript作为一种混合式语言的各方面特性,包括过程式、面向对象、函数式和动态语言特性等,在动态函数式语言特性方面有着尤为细致的讲述。《JavaScript语言精髓与编程实践(第2版)》的主要努力之一,就是分解出这些语言原子,并重现将它们混合在一起的过程与方法。通过从复杂性到单一语言特性的还原过程,读者可了解到语言的本质,以及“层......一起来看看 《JavaScript语言精髓与编程实践》 这本书的介绍吧!