code: def schedule_batch_matmul_int8(cfg, outs):
      """Schedule for batch_matmul_int8"""
      s = te.create_schedule([x.op for x in outs])
  
      def _callback(op):
          if "batch_matmul_int8" in op.tag:
              layout_trans = op.input_tensors[1]
              if target_has_features("amx-int8"):
                  batch_matmul_amx_schedule(
                      cfg, s, op.output(0), outs[0], layout_trans
                  )
              elif target_has_features(["avx512bw", "avx512f"]):
                  batch_matmul_int8_schedule(
                      cfg, s, op.output(0), outs[0], layout_trans
                  )
  
      traverse_inline(s, outs[0].op, _callback)
      return s
  
imports: import tvm
  from tvm import autotvm, te
  from tvm.autotvm.task.space import SplitEntity
  from tvm.contrib import cblas, mkl
  from tvm.target.codegen import target_has_features
  from ..None import generic, nn
  from ..transform import layout_transform
  from ..utils import get_const_tuple, get_max_power2_factor, traverse_inline
  from .dense import dense_amx_int8_schedule, dense_int8_schedule
  from .injective import schedule_injective_from_existing
label_desc: Use image node_id 6 for calling a global function with example usage: schedule_batch_matmul_int8(cfg, outs) and returns: s