tf.keras.utils.serialize_keras_object

tf.keras.utils.serialize_keras_object(instance)

Defined in tensorflow/python/keras/_impl/keras/utils/generic_utils.py.