📅  最后修改于: 2022-03-11 14:46:54.026000             🧑  作者: Mango
keras_model_path = "/tmp/keras_save"
model.save(keras_model_path)
restored_keras_model = tf.keras.models.load_model(keras_model_path)