Missed TensorFlow World? Check out the recap. Learn more

tf.keras.optimizers.deserialize

TensorFlow 1 version View source on GitHub

Inverse of the serialize function.

Aliases:

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

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.