code: def _create_record(task_name, dshape, wshape, target, cost):
      args = [
          te.placeholder(dshape),
          te.placeholder(wshape),
          (1, 1),
          (1, 1, 1, 1),
          (1, 1),
          "float32",
      ]
      task = autotvm.task.create(task_name, args, target)
      cfg = autotvm.ConfigEntity(0, None, {}, [])
      cfg.cost = cost
      inp = autotvm.MeasureInput(target=target, task=task, config=cfg)
      result = autotvm.MeasureResult(
          costs=(cost,), error_no=0, all_cost=-1, timestamp=-1
      )
      return (inp, result)
  
imports: import numpy
  import tvm
  from tvm import te
  import tvm.testing
  from tvm import relay
  from tvm import autotvm
  from tvm import topi
  from tvm.relay.backend import te_compiler
  from tvm.relay.testing import run_infer_type
  from tvm.relay.testing.temp_op_attr import TempOpAttr
label_desc: Use image node_id 8 for calling a global function with example usage: _create_record(task_name, dshape, wshape, target, cost) and returns: inp,  result