tvm
|
The postprocessor with customized methods on the python-side. More...
#include <postproc.h>
Public Types | |
using | FInitializeWithTuneContext = Postproc::FInitializeWithTuneContext |
using | FApply = Postproc::FApply |
using | FClone = Postproc::FClone |
using | FAsString = Postproc::FAsString |
Public Member Functions | |
void | InitializeWithTuneContext (const TuneContext &context) final |
Initialize the design space generator with tuning context. More... | |
bool | Apply (const tir::Schedule &sch) final |
Apply a postprocessor to the given schedule. More... | |
Postproc | Clone () const final |
Clone the postprocessor. More... | |
TVM_DECLARE_FINAL_OBJECT_INFO (PyPostprocNode, PostprocNode) | |
![]() | |
virtual | ~PostprocNode ()=default |
Virtual destructor. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (PostprocNode, 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... | |
FClone | f_clone |
The packed function to the Clone function. More... | |
FAsString | f_as_string |
The packed function to the AsString function. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "meta_schedule.PyPostproc" |
![]() | |
static constexpr const char * | _type_key = "meta_schedule.Postproc" |
The postprocessor with customized methods on the python-side.
using tvm::meta_schedule::PyPostprocNode::FInitializeWithTuneContext = Postproc::FInitializeWithTuneContext |
|
finalvirtual |
Apply a postprocessor to the given schedule.
sch | The schedule to be post processed. |
Implements tvm::meta_schedule::PostprocNode.
|
finalvirtual |
Clone the postprocessor.
Implements tvm::meta_schedule::PostprocNode.
|
finalvirtual |
Initialize the design space generator with tuning context.
context | The tuning context for initialization. |
Implements tvm::meta_schedule::PostprocNode.
|
inlinestatic |
tvm::meta_schedule::PyPostprocNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | PyPostprocNode | , |
PostprocNode | |||
) |
|
staticconstexpr |
FApply tvm::meta_schedule::PyPostprocNode::f_apply |
The packed function to the Apply
function.
FAsString tvm::meta_schedule::PyPostprocNode::f_as_string |
The packed function to the AsString
function.
FClone tvm::meta_schedule::PyPostprocNode::f_clone |
The packed function to the Clone
function.
FInitializeWithTuneContext tvm::meta_schedule::PyPostprocNode::f_initialize_with_tune_context |
The packed function to the InitializeWithTuneContext
function.