W3cubDocs

/TensorFlow Python

tf.keras.optimizers.deserialize

tf.keras.optimizers.deserialize(
    config,
    custom_objects=None
)

Defined in tensorflow/python/keras/_impl/keras/optimizers.py.

Inverse of the serialize function.

Arguments:

  • config: Optimizer configuration dictionary.
  • custom_objects: Optional dictionary mapping names (strings) to custom objects (classes and functions) to be considered during deserialization.

Returns:

A Keras Optimizer instance.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/deserialize