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.