class_docstr: Wrapper for querying a TFX-generated SavedModel.
class_docstr_tok: ["Wrapper","for","querying","a","TFX-generated","SavedModel","."]
code: def __init__(self, config: TFXModelConfig):
      self._model = tf.saved_model.load(config.path)
      self._signature = config.signature
      self._input_spec = config.input_spec
      self._output_spec = config.output_spec
  
file_path: lit/lit_nlp/components/tfx_model.py
imports: from collections.abc import Iterator
  import attr
  from lit_nlp.api import model
  from lit_nlp.api import types
  import tensorflow
  import tensorflow_text
label_desc: Use image node_id 1 to create a new TFXModel object from inherited base classes: lit_model with example: obj = TFXModel(config)