Skip to contents

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().