code: def OnCPU():
      device_option = caffe2_pb2.DeviceOption()
      device_option.device_type = caffe2_pb2.CPU
      return device_option
  
file_path: pytorch/caffe2/python/muji.py
imports: import numpy
  from caffe2.proto import caffe2_pb2
  from caffe2.python import workspace
label_desc: Use image node_id 2 for calling a global function with example usage: OnCPU() and returns: device_option