modelx.open_model#

open_model(path, name=None, datapath=None)[source]#

Load a model saved from a file and return it.

Parameters
  • path (str) – Path to the file to load the model from.

  • name (optional) – If specified, the model is renamed to this name.

Returns

A new model created from the file.

Deprecated since version 0.5.0: Use restore_model() instead.