code: def rewrite_model_helper_simple(model):
      model = copy.deepcopy(model)
      # All parameter initialization should run on MKL
      rewrite_init_net_simple(model.param_init_net.Proto())
      rewrite_run_net_simple(model.net.Proto())
      return model
  
file_path: pytorch/caffe2/python/mkl/rewrite_graph.py
imports: import copy
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core
label_desc: Use image node_id 6 for calling a global function with example usage: rewrite_model_helper_simple(model) and returns: model