code: def update_mobile_engines(net):
      for op in net.op:
          if op.type == "Conv":
              op.engine = "NNPACK"
          if op.type == "ConvTranspose":
              op.engine = "BLOCK"
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from functools import wraps
  import copy
  import numpy
  from caffe2.python import core, workspace
  from caffe2.proto import caffe2_pb2
label_desc: Use image node_id 8 for calling a global function with example usage: update_mobile_engines(net) without return types