TensorFlow 1.9.0-rc0 已发布。
该版本带来了不少改进和新特性:
Update tf.keras to the Keras 2.1.6 API.
tfe.Network
is 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.layers
with custom variable scopes.Using
tf.layers
in a subclassedtf.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
('', ...) byvariable_scope
(tf.get_variable_scope()
, ...).
源码下载和详细更新说明请查看 https://github.com/tensorflow/tensorflow/releases/tag/v1.9.0-rc0