code: def _main():
      """
      Visualize the frozen TF graph using tensorboard.
  
      Arguments
      ----------
      --ckpt: path to the checkpoint meta file (.ckpt.meta)
      --logdir: path to the log directory for writing graph summary for visualization
  
      Usage
      ----------
      python vis_meta.py --ckpt=model.ckpt.meta --logdir=/tmp/pb
  
  
      To kill a previous tensorboard process, use the following commands in the terminal
      ps aux | grep tensorboard
      kill PID
      """
  
      parser = _get_parser()
      args, unknown_args = parser.parse_known_args()
  
      if not os.path.isfile(args.ckpt):
          print("The checkpoint meta file does not exist.")
          exit(1)
  
      if not os.path.isdir(args.logdir):
          print("The log directory does not exist.")
          exit(1)
  
      # Load file
      visualize(args.ckpt, args.logdir)
  
      # Run TensorBoard
      cmd = "tensorboard --logdir={} {}".format(
          args.logdir, " ".join(unknown_args)
      )
      # print(cmd)
      os.system(cmd)
  
file_path: MMdnn/mmdnn/conversion/examples/tensorflow/vis_meta.py
imports: import tensorflow
  from tensorflow.python.platform import gfile
  import os
  import os.path
  import shutil
  import sys
  import argparse
label_desc: Use image node_id 3 for calling a global function with example usage: _main() without return types