Mutator is designed to mutate the trace to explore the design space.
More...
#include <mutator.h>
|
static constexpr const char * | _type_key = "meta_schedule.Mutator" |
|
Mutator is designed to mutate the trace to explore the design space.
◆ ~MutatorNode()
virtual tvm::meta_schedule::MutatorNode::~MutatorNode |
( |
| ) |
|
|
virtualdefault |
◆ Apply()
Apply the mutator function to the given trace.
- Parameters
-
trace | The given trace for mutation. |
rand_state | The random state for mutation. |
- Returns
- None if mutator failed, otherwise return the mutated trace.
Implemented in tvm::meta_schedule::PyMutatorNode.
◆ Clone()
virtual Mutator tvm::meta_schedule::MutatorNode::Clone |
( |
| ) |
const |
|
pure virtual |
◆ InitializeWithTuneContext()
virtual void tvm::meta_schedule::MutatorNode::InitializeWithTuneContext |
( |
const TuneContext & |
context | ) |
|
|
pure virtual |
Initialize the design space generator with tuning context.
- Parameters
-
context | The tuning context for initialization. |
- Note
- This method is supposed to be called only once before every other method.
Implemented in tvm::meta_schedule::PyMutatorNode.
◆ RegisterReflection()
static void tvm::meta_schedule::MutatorNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_BASE_OBJECT_INFO()
tvm::meta_schedule::MutatorNode::TVM_DECLARE_BASE_OBJECT_INFO |
( |
MutatorNode |
, |
|
|
Object |
|
|
) |
| |
◆ _type_key
constexpr const char* tvm::meta_schedule::MutatorNode::_type_key = "meta_schedule.Mutator" |
|
staticconstexpr |
The documentation for this class was generated from the following file: