code: def get_signature_def_map(saved_model_dir, tag_set):
      """Gets SignatureDef map from a MetaGraphDef in a SavedModel.
  
      Returns the SignatureDef map for the given tag-set in the SavedModel
      directory.
  
      Args:
        saved_model_dir: Directory containing the SavedModel to inspect or execute.
        tag_set: Group of tag(s) of the MetaGraphDef with the SignatureDef map, in
            string format, separated by ','. For tag-set contains multiple tags, all
            tags must be passed in.
  
      Returns:
        A SignatureDef map that maps from string keys to SignatureDefs.
      """
      meta_graph = saved_model_utils.get_meta_graph_def(
          saved_model_dir, tag_set
      )
      return meta_graph.signature_def
  
imports: import argparse
  import platform
  import ast
  import os
  import re
  from absl import app
  from absl import flags
  from absl.flags import argparse_flags
  import numpy
  from tensorflow.core.example import example_pb2
  from tensorflow.core.framework import types_pb2
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.wrappers import local_cli_wrapper
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import function
  from tensorflow.python.framework import meta_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.saved_model import load
  from tensorflow.python.saved_model import load_options
  from tensorflow.python.saved_model import loader
  from tensorflow.python.saved_model import save
  from tensorflow.python.saved_model import signature_constants
  from tensorflow.python.tools import saved_model_aot_compile
  from tensorflow.python.tools import saved_model_utils
  from tensorflow.python.tpu import tpu
  from tensorflow.python.util.compat import collections_abc
label_desc: Use image node_id 15 for calling a global function with example usage: get_signature_def_map(saved_model_dir, tag_set) and returns: meta_graph