code: def schedule(cached_func, const_dict, cascader=None):
      """Schedule a CachedFunc for NPU compilation.
  
      Parameters
      ----------
      cached_func : CachedFunc
          The CachedFunc to schedule.
      const_dict : dict of int to numpy.ndarray
          The constant dictionary.
      cascader : callable, optional
          A cascading function to apply optimizing scheduling
          to the graph.
  
      Returns
      -------
      s : tvm.te.Schedule
          The completed schedule for the graph.
  
      """
      s = tvm.te.create_schedule([t.op for t in cached_func.outputs])
      if cascader:
          cascader(cached_func, const_dict, s)
      inline_no_ops(cached_func, s)
      copy_luts()(cached_func, const_dict, s)
      inline_no_ops(cached_func, s)
      schedule_pragmas(s)
      schedule_cache_reads(s)
      return s
  
file_path: tvm/python/tvm/relay/backend/contrib/ethosu/tir/scheduler.py
imports: import tvm
  from tvm.contrib.ethosu.cascader import Propagator
label_desc: Use image node_id 1 for calling a global function with example usage: schedule(cached_func, const_dict, cascader) and returns: s