multistage.load

multistage.load(filename, model_constructor, **kwargs)Source

Load the model from a file containing Pytree skeleton and binary data.

Parameters:
  • filename (str) – File to load from.

  • model_constructor (callable) – Function to build model.

  • kwargs (dict) – Additional kwargs to pass to model_constructor, typically because these kwargs could not be serialized.