class_docstr: Frozen-encoder coreference model.
class_docstr_tok: ["Frozen-encoder","coreference","model","."]
docstr: Reload from the output of .save().
docstr_tok: ["Reload","from","the","output","of",".save","(",")","."]
code: def from_saved(cls, path: str, encoder_cls, classifier_cls):
      """Reload from the output of .save()."""
      encoder_path = os.path.join(path, "encoder")
      encoder = encoder_cls(encoder_path)
      classifier_path = os.path.join(path, "classifier")
      classifier = classifier_cls(classifier_path)
      return cls(encoder, classifier)
  
imports: import os
  from absl import logging
  from lit_nlp.api import dtypes
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.examples.coref import edge_predictor
  from lit_nlp.examples.coref import encoders
  from lit_nlp.examples.coref.datasets import winogender
  from lit_nlp.lib import utils
  import numpy
  import tqdm
label_desc: Use image node_id 1 for calling the FrozenEncoderCoref obj's underlying member method code with example usage: obj.from_saved(cls, path, encoder_cls, classifier_cls) and returns: cls