tf.keras.optimizers.deserialize

View source

Inverse of the serialize function.

Aliases:

  • tf.compat.v1.keras.optimizers.deserialize
  • tf.compat.v2.keras.optimizers.deserialize
  • tf.compat.v2.optimizers.deserialize
  • tf.optimizers.deserialize
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.

results matching ""

    No results matching ""