Setup
Analysis
Development
Reference
load_model(model_path)
load_model
Load a trained model from a file.
model_path (str) – Path to the model file. Should be an .h5 or .keras file.
model – The loaded model.
tf.keras.Model
Examples
>>> model = load_model('model.h5') >>> model.summary()