code: def init_exported_collections():
      global x, y_, accuracy
      saver = tf.train.import_meta_graph(
          FLAGS.rundir + "/model/export.meta"
      )
      saver.restore(sess, FLAGS.rundir + "/model/export")
      x = tensor_by_collection_name("x")
      y_ = tensor_by_collection_name("y_")
      accuracy = tensor_by_collection_name("acc")
  
imports: import argparse
  import json
  import tensorflow
  from tensorflow.examples.tutorials.mnist import input_data
label_desc: Use image node_id 20 for calling a global function with example usage: init_exported_collections() without return types