tf.keras.optimizers.deserialize

Inverse of the serialize function.

Aliases:

  • tf.compat.v1.keras.optimizers.deserialize
  • tf.compat.v2.keras.optimizers.deserialize
  • tf.compat.v2.optimizers.deserialize
  • tf.keras.optimizers.deserialize
tf.keras.optimizers.deserialize(
    config,
    custom_objects=None
)

Defined in python/keras/optimizers.py.

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.