tvm
|
Rules to modify a block in a schedule. More...
#include <schedule_rule.h>
Public Member Functions | |
virtual | ~ScheduleRuleNode ()=default |
Virtual destructor. More... | |
virtual void | InitializeWithTuneContext (const TuneContext &context)=0 |
Initialize the design space generator with tuning context. More... | |
virtual Array< tir::Schedule > | Apply (const tir::Schedule &sch, const tir::BlockRV &block)=0 |
Apply a schedule rule to the specific block in the given schedule. More... | |
virtual ScheduleRule | Clone () const =0 |
Deep clone the schedule rule. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (ScheduleRuleNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Static Public Attributes | |
static constexpr const char * | _type_key = "meta_schedule.ScheduleRule" |
Rules to modify a block in a schedule.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
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. |
Implemented in tvm::meta_schedule::PyScheduleRuleNode.
|
pure virtual |
Deep clone the schedule rule.
Implemented in tvm::meta_schedule::PyScheduleRuleNode.
|
pure virtual |
Initialize the design space generator with tuning context.
context | The tuning context for initialization. |
Implemented in tvm::meta_schedule::PyScheduleRuleNode.
|
inlinestatic |
tvm::meta_schedule::ScheduleRuleNode::TVM_DECLARE_BASE_OBJECT_INFO | ( | ScheduleRuleNode | , |
Object | |||
) |
|
staticconstexpr |