|
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 ffi::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_FFI_DECLARE_OBJECT_INFO ("meta_schedule.ScheduleRule", ScheduleRuleNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Attributes | |
| static constexpr const bool | _type_mutable = true |
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_FFI_DECLARE_OBJECT_INFO | ( | "meta_schedule.ScheduleRule" | , |
| ScheduleRuleNode | , | ||
| Object | |||
| ) |
|
staticconstexpr |