code: def init_test_writer():
      global summaries, writer
      summaries = tf.summary.merge_all()
      writer = tf.summary.FileWriter(FLAGS.rundir)
  
imports: import argparse
  import json
  import tensorflow
  from tensorflow.examples.tutorials.mnist import input_data
label_desc: Use image node_id 24 for calling a global function with example usage: init_test_writer() without return types