|
tvm
|
Mutator is designed to mutate the trace to explore the design space. More...
#include <mutator.h>
Public Member Functions | |
| virtual | ~MutatorNode ()=default |
| Virtual destructor. | |
| virtual void | InitializeWithTuneContext (const TuneContext &context)=0 |
| Initialize the design space generator with tuning context. | |
| virtual ffi::Optional< s_tir::Trace > | Apply (const s_tir::Trace &trace, LinearCongruentialEngine::TRandState *rand_state)=0 |
| Apply the mutator function to the given trace. | |
| virtual Mutator | Clone () const =0 |
| Clone the mutator. | |
| TVM_FFI_DECLARE_OBJECT_INFO ("s_tir.meta_schedule.Mutator", MutatorNode, ffi::Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Attributes | |
| static constexpr const bool | _type_mutable = true |
Mutator is designed to mutate the trace to explore the design space.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Apply the mutator function to the given trace.
| trace | The given trace for mutation. |
| rand_state | The random state for mutation. |
Implemented in tvm::s_tir::meta_schedule::PyMutatorNode.
Clone the mutator.
Implemented in tvm::s_tir::meta_schedule::PyMutatorNode.
|
pure virtual |
Initialize the design space generator with tuning context.
| context | The tuning context for initialization. |
Implemented in tvm::s_tir::meta_schedule::PyMutatorNode.
| tvm::s_tir::meta_schedule::MutatorNode::TVM_FFI_DECLARE_OBJECT_INFO | ( | "s_tir.meta_schedule.Mutator" | , |
| MutatorNode | , | ||
| ffi::Object | |||
| ) |