Retrieve the config dict by serializing the Keras object.
View aliases
Main aliases
tf.keras.utils.serialize_keras_object
See Migration guide for more details.
`tf.compat.v1.keras.saving.serialize_keras_object`, `tf.compat.v1.keras.utils.serialize_keras_object`
tf.keras.saving.serialize_keras_object(
obj
)
serialize_keras_object()
serializes a Keras object to a python dictionary
that represents the object, and is a reciprocal function of
deserialize_keras_object()
. See deserialize_keras_object()
for more
information about the config format.
Returns | |
---|---|
A python dict that represents the object. The python dict can be
deserialized via deserialize_keras_object() .
|