class_docstr: A Wrapper to handle tensorflow models parsing, TensorFlow is needed
  
  Parameters
  ----------
  model_dir : tensorflow frozen pb file or a directory that contains saved
  model or checkpoints.
  
  outputs : List of output tensor names (Optional)
      Optional output node names. This will be protected for saved model
      when we do remove training nodes.
  
  Examples
  --------
  .. code-block:: python
  
      parser = TFParser(model_dir)
      graphdef = parser.parse()
class_docstr_tok: ["A","Wrapper","to","handle","tensorflow","models","parsing",",","TensorFlow","is","needed","Parameters","--","--","--","--","--","model_dir",":","tensorflow","frozen","pb","file","or","a","directory","that","contains","saved","model","or","checkpoints",".","outputs",":","List","of","output","tensor","names","(","Optional",")","Optional","output","node","names",".","This","will","be","protected","for","saved","model","when","we","do","remove","training","nodes",".","Examples","--","--","--","--","..","code-block",":",":","python","parser","=","TFParser","(","model_dir",")","graphdef","=","parser.parse","(",")"]
docstr: Return the tag set of saved model, multiple metagraphs are not supported
docstr_tok: ["Return","the","tag","set","of","saved","model",",","multiple","metagraphs","are","not","supported"]
code: def _get_tag_set(self):
      """Return the tag set of saved model, multiple metagraphs are not supported"""
      try:
          from tensorflow.contrib.saved_model.python.saved_model.reader import (
              get_saved_model_tag_sets,
          )
      except ImportError:
          try:
              from tensorflow.python.tools.saved_model_utils import (
                  get_saved_model_tag_sets,
              )
          except ImportError:
              raise ImportError(
                  "InputConfiguration: Unable to import get_saved_model_tag_sets which is "
                  "required to get tag set from saved model."
              )
      tag_sets = get_saved_model_tag_sets(self._model_dir)
      return tag_sets[0]
  
file_path: tvm/python/tvm/relay/frontend/tensorflow_parser.py
imports: import os
  from tvm.contrib import utils
label_desc: Use image node_id 5 for calling the TFParser obj's underlying member method code with example usage: obj._get_tag_set() and returns: tag_sets