code: def format_device_option(dev_opt):
      if not dev_opt or not (
          dev_opt.device_type or dev_opt.device_id or dev_opt.node_name
      ):
          return None
      return call(
          "DeviceOption",
          [
              dev_opt.device_type,
              dev_opt.device_id,
              "'%s'" % dev_opt.node_name,
          ],
      )
  
imports: from caffe2.proto.caffe2_pb2 import OperatorDef, NetDef
  from caffe2.python.checkpoint import Job
  from caffe2.python.core import Net, ExecutionStep, Plan
  from caffe2.python.task import Task, TaskGroup, WorkspaceType, TaskOutput
  from collections import defaultdict
  from contextlib import contextmanager
  from copy import copy
  from itertools import chain
label_desc: Use image node_id 14 for calling a global function with example usage: format_device_option(dev_opt) and returns: call, None