code: def clip_schedule(outs, ins, output_layout: str, input_layout: str):
      """
      Hexagon clip schedule
      """
      A = ins
      M = outs
  
      func = te.create_prim_func([A, M])
  
      s = tir.Schedule(func)
  
      block = s.get_block("compute")
  
      input_transformed_layout = get_layout_transform_fn(input_layout)
      s.transform_layout(
          block, buffer=("read", 0), index_map=input_transformed_layout
      )
  
      output_transformed_layout = get_layout_transform_fn(output_layout)
      s.transform_layout(
          block,
          buffer=("write", 0),
          index_map=output_transformed_layout,
      )
  
      n, h, w, c = s.get_loops(block)
  
      ho, hi = s.split(h, [None, 8])
      wo, wi = s.split(w, [None, 4])
      co, ci = s.split(c, [None, 32])
      wio, wii = s.split(wi, [None, 2])
  
      s.reorder(n, ho, wo, co, hi, wio, ci, wii)
  
      fused = s.fuse(ci, wii)
      s.vectorize(fused)
  
      return s
  
imports: from tvm import te, tir, topi
  from ..utils import get_layout_transform_fn
label_desc: Use image node_id 2 for calling a global function with example usage: clip_schedule(outs, ins, output_layout, input_layout) and returns: s