View source on GitHub |
Retrieve the config dict by serializing the 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.
Args | |
---|---|
obj
|
the Keras object to serialize. |
Returns | |
---|---|
A python dict that represents the object. The python dict can be
deserialized via deserialize_keras_object() .
|