code: def measure_cost(repeat, func_name, *args, **kwargs):
      """Measure time cost of running a function"""
      mx.nd.waitall()
      start = time.time()
      for _ in range(repeat):
          func_name(*args, **kwargs)
      mx.nd.waitall()
      end = time.time()
      diff = end - start
      return diff / repeat
  
imports: import time
  import mxnet
  from mxnet import np, npx
label_desc: Use image node_id 1 for calling a global function with example usage: measure_cost(repeat, func_name) and returns: unknown