code: def init():
      global g_tf_sess
  
      # pull down model from workspace
      model_path = Model.get_model_path("mnist-prs")
  
      # contruct graph to execute
      tf.reset_default_graph()
      saver = tf.train.import_meta_graph(
          os.path.join(model_path, "mnist-tf.model.meta")
      )
      g_tf_sess = tf.Session(
          config=tf.ConfigProto(device_count={"GPU": 0})
      )
      saver.restore(
          g_tf_sess, os.path.join(model_path, "mnist-tf.model")
      )
  
imports: import os
  import numpy
  import tensorflow
  from PIL import Image
  from azureml.core import Model
label_desc: Use image node_id 1 for calling a global function with example usage: init() without return types