- restore_model(path, name=None, datapath=None)#
Restore a model and return it.
Restore a model saved by the
str) – Path to the file to restore the model from.
name (optional) – If specified, the model is renamed to this name.
A new model created from the file.