|
tvm
|
The schedule rule with customized methods on the python-side. More...
#include <schedule_rule.h>
Public Types | |
| using | FInitializeWithTuneContext = ScheduleRule::FInitializeWithTuneContext |
| using | FApply = ScheduleRule::FApply |
| using | FClone = ScheduleRule::FClone |
| using | FAsString = ScheduleRule::FAsString |
Public Member Functions | |
| void | InitializeWithTuneContext (const TuneContext &context) final |
| Initialize the design space generator with tuning context. More... | |
| ffi::Array< tir::Schedule > | Apply (const tir::Schedule &sch, const tir::BlockRV &block) final |
| Apply a schedule rule to the specific block in the given schedule. More... | |
| ScheduleRule | Clone () const final |
| Deep clone the schedule rule. More... | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("meta_schedule.PyScheduleRule", PyScheduleRuleNode, ScheduleRuleNode) | |
Public Member Functions inherited from tvm::meta_schedule::ScheduleRuleNode | |
| virtual | ~ScheduleRuleNode ()=default |
| Virtual destructor. More... | |
| TVM_FFI_DECLARE_OBJECT_INFO ("meta_schedule.ScheduleRule", ScheduleRuleNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::meta_schedule::ScheduleRuleNode | |
| static void | RegisterReflection () |
Public Attributes | |
| FInitializeWithTuneContext | f_initialize_with_tune_context |
The packed function to the InitializeWithTuneContext function. More... | |
| FApply | f_apply |
The packed function to the Apply function. More... | |
| FAsString | f_as_string |
The packed function to the AsString function. More... | |
| FClone | f_clone |
The packed function to the Clone function. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::meta_schedule::ScheduleRuleNode | |
| static constexpr const bool | _type_mutable = true |
The schedule rule with customized methods on the python-side.
| using tvm::meta_schedule::PyScheduleRuleNode::FInitializeWithTuneContext = ScheduleRule::FInitializeWithTuneContext |
|
finalvirtual |
Apply a schedule rule to the specific block in the given schedule.
| sch | The schedule to be modified. |
| block | The specific block to apply the schedule rule. |
Implements tvm::meta_schedule::ScheduleRuleNode.
|
finalvirtual |
Deep clone the schedule rule.
Implements tvm::meta_schedule::ScheduleRuleNode.
|
finalvirtual |
Initialize the design space generator with tuning context.
| context | The tuning context for initialization. |
Implements tvm::meta_schedule::ScheduleRuleNode.
|
inlinestatic |
| tvm::meta_schedule::PyScheduleRuleNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "meta_schedule.PyScheduleRule" | , |
| PyScheduleRuleNode | , | ||
| ScheduleRuleNode | |||
| ) |
| FApply tvm::meta_schedule::PyScheduleRuleNode::f_apply |
The packed function to the Apply function.
| FAsString tvm::meta_schedule::PyScheduleRuleNode::f_as_string |
The packed function to the AsString function.
| FClone tvm::meta_schedule::PyScheduleRuleNode::f_clone |
The packed function to the Clone function.
| FInitializeWithTuneContext tvm::meta_schedule::PyScheduleRuleNode::f_initialize_with_tune_context |
The packed function to the InitializeWithTuneContext function.