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... | |
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_DECLARE_FINAL_OBJECT_INFO (PyScheduleRuleNode, ScheduleRuleNode) | |
![]() | |
virtual | ~ScheduleRuleNode ()=default |
Virtual destructor. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (ScheduleRuleNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
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... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "meta_schedule.PyScheduleRule" |
![]() | |
static constexpr const char * | _type_key = "meta_schedule.ScheduleRule" |
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_DECLARE_FINAL_OBJECT_INFO | ( | PyScheduleRuleNode | , |
ScheduleRuleNode | |||
) |
|
staticconstexpr |
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.