code: def print_cfg(blocks):
      for block in blocks:
          print("[%s]" % (block["type"]))
          for key, value in block.items():
              if key != "type":
                  print("%s=%s" % (key, value))
          print("")
  
file_path: MMdnn/mmdnn/conversion/darknet/cfg.py
imports: import torch
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: print_cfg(blocks) without return types