code: def timeit_context(name):
      startTime = time.time()
      yield
      elapsedTime = time.time() - startTime
      logging.info(
          "[{}] runtime {:.03f} msec".format(name, elapsedTime * 1000)
      )
  
imports: import time
  import logging
  from contextlib import contextmanager
  import mxnet
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: timeit_context(name) without return types