code: def bad_matmul(N, L, M, dtype):
      if "bad_device" in tvm.target.Target.current().keys:
          A = te.placeholder((N, L), name="A", dtype=dtype)
          B = te.placeholder((L, M), name="B", dtype=dtype)
  
          k = te.reduce_axis((0, L - 1), name="k")
          C = te.compute(
              (N, M),
              lambda i, j: te.sum(A[i, k] * B[k, j], axis=k),
              name="C",
          )
          s = te.create_schedule(C.op)
  
          # schedule
          y, x = s[C].op.axis
          cfg = autotvm.get_config()
          cfg.define_split("tile_y", y, num_outputs=2)
          cfg.define_split("tile_x", x, num_outputs=2)
          return s, [A, B, C]
  
      return matmul(N, L, M, dtype)
  
file_path: tvm/python/tvm/testing/autotvm.py
imports: import time
  import numpy
  import tvm
  from tvm import te
  from tvm import autotvm
  from tvm.autotvm import MeasureInput, MeasureResult
  from tvm.autotvm.measure.measure import Runner
label_desc: Use image node_id 2 for calling a global function with example usage: bad_matmul(N, L, M, dtype) and returns: matmul, s,  list