tf.keras.utils.serialize_keras_object

TensorFlow 1 version View source on GitHub

Serialize a Keras object into a JSON-compatible representation.