tf.keras.utils.serialize_keras_object

TensorFlow 1 version View source on GitHub
tf.keras.utils.serialize_keras_object(
    instance
)