code: def test():
      data = {x: mnist.test.images, y_: mnist.test.labels}
      test_accuracy, summary = sess.run([accuracy, summaries], data)
      writer.add_summary(summary)
      writer.flush()
      print("Test accuracy=%f" % test_accuracy)
  
imports: import argparse
  import json
  import tensorflow
  from tensorflow.examples.tutorials.mnist import input_data
label_desc: Use image node_id 23 for calling a global function with example usage: test() without return types