|
tvm
|
The mutator with customized methods on the python-side. More...
#include <mutator.h>
Public Types | |
| using | FInitializeWithTuneContext = Mutator::FInitializeWithTuneContext |
| using | FApply = Mutator::FApply |
| using | FClone = Mutator::FClone |
| using | FAsString = Mutator::FAsString |
Public Member Functions | |
| void | InitializeWithTuneContext (const TuneContext &context) final |
| Initialize the design space generator with tuning context. More... | |
| ffi::Optional< tir::Trace > | Apply (const tir::Trace &trace, support::LinearCongruentialEngine::TRandState *rand_state) final |
| Apply the mutator function to the given trace. More... | |
| Mutator | Clone () const final |
| Clone the mutator. More... | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("meta_schedule.PyMutator", PyMutatorNode, MutatorNode) | |
Public Member Functions inherited from tvm::meta_schedule::MutatorNode | |
| virtual | ~MutatorNode ()=default |
| Virtual destructor. More... | |
| TVM_FFI_DECLARE_OBJECT_INFO ("meta_schedule.Mutator", MutatorNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::meta_schedule::MutatorNode | |
| 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... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::meta_schedule::MutatorNode | |
| static constexpr const bool | _type_mutable = true |
The mutator with customized methods on the python-side.
| using tvm::meta_schedule::PyMutatorNode::FInitializeWithTuneContext = Mutator::FInitializeWithTuneContext |
|
finalvirtual |
Apply the mutator function to the given trace.
| trace | The given trace for mutation. |
| rand_state | The random state for mutation. |
Implements tvm::meta_schedule::MutatorNode.
|
finalvirtual |
|
finalvirtual |
Initialize the design space generator with tuning context.
| context | The tuning context for initialization. |
Implements tvm::meta_schedule::MutatorNode.
|
inlinestatic |
| tvm::meta_schedule::PyMutatorNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "meta_schedule.PyMutator" | , |
| PyMutatorNode | , | ||
| MutatorNode | |||
| ) |
| FApply tvm::meta_schedule::PyMutatorNode::f_apply |
The packed function to the Apply function.
| FAsString tvm::meta_schedule::PyMutatorNode::f_as_string |
The packed function to the AsString function.
| FClone tvm::meta_schedule::PyMutatorNode::f_clone |
The packed function to the Clone function.
| FInitializeWithTuneContext tvm::meta_schedule::PyMutatorNode::f_initialize_with_tune_context |
The packed function to the InitializeWithTuneContext function.