code: def load_graph_session_from_saved_model(
      saved_model_dir, sess_config, print_op=False
  ):
      """Load graph session from SavedModel"""
      if not tf.saved_model.maybe_saved_model_directory(
          saved_model_dir
      ):
          raise ValueError(
              "Not a saved model dir: {}".format(saved_model_dir)
          )
  
      logging.info("saved model dir : {}".format(saved_model_dir))
      graph = tf.Graph()
      with graph.as_default():  # pylint: disable=not-context-manager
          sess = get_session(sess_config)
          with sess.as_default():  # pylint: disable=not-context-manager
              tf.saved_model.loader.load(
                  sess,
                  [tf.saved_model.tag_constants.SERVING],
                  saved_model_dir,
              )
              if print_op:
                  print_ops(
                      graph,
                      prefix="load_graph_session_from_saved_model",
                  )
      return graph, sess
  
file_path: delta/delta/utils/model.py
imports: import os
  import numpy
  import hurry.filesize
  from absl import logging
  import delta.compat
  from tensorflow.python.framework import graph_util
label_desc: Use image node_id 10 for calling a global function with example usage: load_graph_session_from_saved_model(saved_model_dir, sess_config, print_op) and returns: graph,  sess