class_docstr: Create a design space generator with customized schedule function.
  The schedule function can have the following signatures:
  - 1) [Schedule] -> None
  - 2) [Schedule] -> Schedule
  - 3) [Schedule] -> List[Schedule]
class_docstr_tok: ["Create","a","design","space","generator","with","customized","schedule","function",".","The","schedule","function","can","have","the","following","signatures",":","-","1",")","[","Schedule","]","-",">","None","-","2",")","[","Schedule","]","-",">","Schedule","-","3",")","[","Schedule","]","-",">","List","[","Schedule","]"]
docstr: Constructor.
  
  Parameters
  ----------
  sch_fn : SpaceGenerator.ScheduleFnType
      The schedule function, which can have the following signatures:
      - 1) [Schedule] -> None
      - 2) [Schedule] -> Schedule
      - 3) [Schedule] -> List[Schedule]
docstr_tok: ["Constructor",".","Parameters","--","--","--","--","--","sch_fn",":","SpaceGenerator.ScheduleFnType","The","schedule","function",",","which","can","have","the","following","signatures",":","-","1",")","[","Schedule","]","-",">","None","-","2",")","[","Schedule","]","-",">","Schedule","-","3",")","[","Schedule","]","-",">","List","[","Schedule","]"]
code: def __init__(
      self,
      sch_fn: SpaceGenerator.ScheduleFnType,
      sch_rules: ScheduleRuleType = "from-target",
      postprocs: PostprocType = "from-target",
      mutator_probs: MutatorProbType = "from-target",
  ):
      """Constructor.
  
      Parameters
      ----------
      sch_fn : SpaceGenerator.ScheduleFnType
          The schedule function, which can have the following signatures:
          - 1) [Schedule] -> None
          - 2) [Schedule] -> Schedule
          - 3) [Schedule] -> List[Schedule]
      """
      sch_rules, postprocs, mutator_probs = _normalize_rules(
          sch_rules, postprocs, mutator_probs
      )
      self.__init_handle_by_constructor__(
          _ffi_api.SpaceGeneratorScheduleFn,  # type: ignore # pylint: disable=no-member
          sch_fn,
          sch_rules,
          postprocs,
          mutator_probs,
      )
  
imports: from tvm._ffi import register_object
  from ..None import _ffi_api
  from .space_generator import MutatorProbType, PostprocType, ScheduleRuleType, SpaceGenerator, _normalize_rules
label_desc: Use image node_id 1 to create a new ScheduleFn object from inherited base classes: SpaceGenerator with example: obj = ScheduleFn(sch_fn, sch_rules, postprocs, mutator_probs)