Managed reference to SpaceGeneratorNode.
More...
#include <space_generator.h>
|
static SpaceGenerator | PySpaceGenerator (Optional< Array< ScheduleRule >> sch_rules, Optional< Array< Postproc >> postprocs, Optional< Map< Mutator, FloatImm >> mutator_probs, FInitializeWithTuneContext f_initialize_with_tune_context, FGenerateDesignSpace f_generate_design_space, FClone f_clone) |
| Create a design space generator with customized methods on the python-side. More...
|
|
static SpaceGenerator | ScheduleFn (PackedFunc schedule_fn, Optional< Array< ScheduleRule >> sch_rules, Optional< Array< Postproc >> postprocs, Optional< Map< Mutator, FloatImm >> mutator_probs) |
| Create a design space generator with customized schedule function. More...
|
|
static SpaceGenerator | SpaceGeneratorUnion (Array< SpaceGenerator, void > space_generators, Optional< Array< ScheduleRule >> sch_rules, Optional< Array< Postproc >> postprocs, Optional< Map< Mutator, FloatImm >> mutator_probs) |
| Create a design space generator that is union of multiple design space generators. More...
|
|
static SpaceGenerator | PostOrderApply (runtime::PackedFunc f_block_filter, Optional< Array< ScheduleRule >> sch_rules, Optional< Array< Postproc >> postprocs, Optional< Map< Mutator, FloatImm >> mutator_probs) |
| Create a design space generator that generates design spaces by applying schedule rules to blocks in post-DFS order. More...
|
|
◆ FClone
The function type of Clone
method.
- Returns
- The cloned space generator.
◆ FGenerateDesignSpace
The function type of GenerateDesignSpace
method.
- Parameters
-
mod | The module used for design space generation. |
- Returns
- The generated design spaces, i.e., schedules.
◆ FInitializeWithTuneContext
The function type of InitializeWithTuneContext
method.
- Parameters
-
context | The tuning context for initialization. |
◆ SpaceGenerator()
tvm::meta_schedule::SpaceGenerator::SpaceGenerator |
( |
| ) |
|
|
protecteddefault |
◆ PostOrderApply()
Create a design space generator that generates design spaces by applying schedule rules to blocks in post-DFS order.
- Parameters
-
f_block_filter | The filter function to filter blocks to be applied with schedule rules. |
sch_rules | The schedule rules. |
postprocs | The postprocessors. |
mutator_probs | The probability of using certain mutator. |
- Returns
- The design space generator created.
◆ PySpaceGenerator()
Create a design space generator with customized methods on the python-side.
- Parameters
-
sch_rules | The schedule rules. |
postprocs | The postprocessors. |
mutator_probs | The probability of using certain mutator. |
f_initialize_with_tune_context | The packed function of InitializeWithTuneContext . |
f_generate_design_space | The packed function of GenerateDesignSpace . |
f_clone | The packed function of Clone . |
- Returns
- The design space generator created.
◆ ScheduleFn()
Create a design space generator with customized schedule function.
- Parameters
-
schedule_fn | The schedule function, which can have the following signatures: 1) void(Schedule) 2) Schedule(Schedule) 3) Array<Schedule>(Schedule) |
sch_rules | The schedule rules. |
postprocs | The postprocessors. |
mutator_probs | The probability of using certain mutator. |
◆ SpaceGeneratorUnion()
Create a design space generator that is union of multiple design space generators.
- Parameters
-
space_generators | An array of design space generators to be unioned. |
sch_rules | The schedule rules. |
postprocs | The postprocessors. |
mutator_probs | The probability of using certain mutator. |
- Returns
- The design space generator created.
◆ TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: