code: def print_net(net):
      for i in net.external_input:
          print("Input: {}".format(i))
      for i in net.external_output:
          print("Output: {}".format(i))
      for op in net.op:
          print("Op {}".format(op.type))
          for x in op.input:
              print("  input: {}".format(x))
          for y in op.output:
              print("  output: {}".format(y))
  
file_path: pytorch/caffe2/python/fakelowp/test_utils.py
imports: import sys
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: print_net(net) without return types