serialize_keras_object {keras3} | R Documentation |
Retrieve the full config by serializing the Keras object.
Description
serialize_keras_object()
serializes a Keras object to a named list
that represents the object, and is a reciprocal function of
deserialize_keras_object()
. See deserialize_keras_object()
for more
information about the full config format.
Usage
serialize_keras_object(obj)
Arguments
obj |
the Keras object to serialize. |
Value
A named list that represents the object config.
The config is expected to contain simple types only, and
can be saved as json.
The object can be
deserialized from the config via deserialize_keras_object()
.
See Also
Other serialization utilities:
deserialize_keras_object()
get_custom_objects()
get_registered_name()
get_registered_object()
register_keras_serializable()
with_custom_object_scope()
[Package keras3 version 1.1.0 Index]