code: def _instantiate_meta_graph(saved_model_handler, tags=None):
      """Loads a MetaGraph from a SavedModelHandler into a new Graph."""
      meta_graph = saved_model_handler.get_meta_graph(tags)
      with tf.Graph().as_default() as graph:
          tf.compat.v1.train.import_meta_graph(
              meta_graph, import_scope=""
          )
      return graph
  
imports: import copy
  import os
  from absl import logging
  import tensorflow
  from tensorflow_hub import saved_model_lib
  from tensorflow.core.protobuf import meta_graph_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _instantiate_meta_graph(saved_model_handler, tags) and returns: graph