Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.keras.utils.serialize_keras_object

TensorFlow 1 version View source on GitHub

Serialize Keras object into JSON.

tf.keras.utils.serialize_keras_object(
    instance
)