code: def testGetMetaGraphInvalidTagSet(self):
      saved_model_dir = os.path.join(
          test.get_temp_dir(), "test_invalid_tags"
      )
      builder = saved_model_builder.SavedModelBuilder(saved_model_dir)
      # Force test to run in graph mode since SavedModelBuilder.save requires a
      # session to work.
      with ops.Graph().as_default() as g:
          with self.session(graph=g) as sess:
              self._init_and_validate_variable(sess, "v", 42)
              builder.add_meta_graph_and_variables(sess, ["a", "b"])
          builder.save()
  
      # Sanity check
      saved_model_utils.get_meta_graph_def(saved_model_dir, "a,b")
  
      with self.assertRaisesRegex(
          RuntimeError, "associated with tag-set"
      ):
          saved_model_utils.get_meta_graph_def(saved_model_dir, "c,d")
  
file_path: tensorflow/tensorflow/python/tools/saved_model_utils_test.py
imports: import os
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import builder
  from tensorflow.python.saved_model import tag_constants
  from tensorflow.python.tools import saved_model_utils
label_desc: Use image node_id 5 for calling the SavedModelUtilTest obj's underlying member method code with example usage: obj.testGetMetaGraphInvalidTagSet() without return types