tf.keras.optimizers.serialize

Returns the optimizer configuration as a Python dict.

optimizer An Optimizer instance to serialize.

Python dict which contains the configuration of the optimizer.