code: def init_variable_summaries(var, name):
      with tf.name_scope(name):
          mean = tf.reduce_mean(var)
          tf.summary.scalar("mean", mean)
          stddev = tf.sqrt(tf.reduce_mean(tf.square(var - mean)))
          tf.summary.scalar("stddev", stddev)
          tf.summary.scalar("max", tf.reduce_max(var))
          tf.summary.scalar("min", tf.reduce_min(var))
          tf.summary.histogram(name, var)
  
imports: import argparse
  import json
  import tensorflow
  from tensorflow.examples.tutorials.mnist import input_data
label_desc: Use image node_id 9 for calling a global function with example usage: init_variable_summaries(var, name) without return types