code: def _get_output_tensor_and_op(graph_output):
      output_op_names = []
      output_tensor_names = []
  
      for output_item in graph_output.items():
          if output_item[1].name != "":
              (
                  dense_op_name,
                  dense_tensor_name,
              ) = _get_dense_tensor_and_op(output_item)
              output_op_names.append(dense_op_name)
              output_tensor_names.append(dense_tensor_name)
  
      return output_op_names, output_tensor_names
  
imports: import os
  import atexit
  from multiprocessing import Process
  import numpy
  import shutil
  import tensorflow
  from tensorflow.compat.v1 import saved_model
  from tensorflow.python.framework import ops
  from autodist import AutoDist
  from autodist.strategy.all_reduce_strategy import AllReduce
  from autodist.checkpoint.saver import Saver
  from autodist.checkpoint.saved_model_builder import SavedModelBuilder
label_desc: Use image node_id 3 for calling a global function with example usage: _get_output_tensor_and_op(graph_output) and returns: output_op_names,  output_tensor_names