docs: def load_metagraph(model_path_prefix: Union[str, Path]) -> tf.train.Saver:
      """ Given the path to a model on disk (these will typically be found in
      directories such as exp/<exp_num>/model/model_best.*) creates a Saver
      object that can then be used to restore the graph inside a tf.Session.
      """
  
      model_path_prefix = str(model_path_prefix)
      metagraph = tf.train.import_meta_graph(model_path_prefix + ".meta")
      return metagraph