tf.keras.saving.serialize_keras_object
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() .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[]]