code: def get_path(output_name, sess=None):
      if sess is None:
          sess = tf.Session()
          init = tf.global_variables_initializer()
          sess.run(init)
  
      temp = tempfile.mkdtemp()
  
      saver = tf.train.Saver()
      saver.save(sess, temp + "/model.chkp")
      tf.train.write_graph(sess.graph, temp, "model.pbtxt")
  
      merge_checkpoint(
          temp + "/model.pbtxt",
          temp + "/model.chkp",
          [output_name],
          temp + "/model.pb",
          sess,
      )
      return temp + "/model.pb"
  
file_path: BigDL/python/dllib/src/bigdl/dllib/utils/tf_utils.py
imports: import tempfile
  import tensorflow
  import shutil
  from google.protobuf import text_format
  from tensorflow.core.framework import graph_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import graph_util
  from tensorflow.python.framework import importer
  from tensorflow.python.platform import gfile
  from bigdl.dllib.nn.layer import Model
  from bigdl.dllib.utils.common import JTensor
  from bigdl.dllib.utils.common import callBigDlFunc
  from bigdl.dllib.utils.log4Error import *
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: get_path(output_name, sess) and returns: unknown