Managed reference to TuneContextNode.
More...
#include <tune_context.h>
|
| TuneContext (Optional< IRModule > mod, Optional< Target > target, Optional< SpaceGenerator > space_generator, Optional< SearchStrategy > search_strategy, Optional< Array< ScheduleRule >> sch_rules, Optional< Array< Postproc >> postprocs, Optional< Map< Mutator, FloatImm >> mutator_probs, Optional< String > task_name, PackedFunc logging_func, support::LinearCongruentialEngine::TRandState rand_state, int num_threads) |
| Constructor. More...
|
|
| TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS (TuneContext, ObjectRef, TuneContextNode) |
|
| ObjectRef ()=default |
| default constructor More...
|
|
| ObjectRef (ObjectPtr< Object > data) |
| Constructor from existing object ptr. More...
|
|
bool | same_as (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | operator== (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | operator!= (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | operator< (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | defined () const |
|
const Object * | get () const |
|
const Object * | operator-> () const |
|
bool | unique () const |
|
int | use_count () const |
|
template<typename ObjectType > |
const ObjectType * | as () const |
| Try to downcast the internal Object to a raw pointer of a corresponding type. More...
|
|
Managed reference to TuneContextNode.
- See also
- TuneContextNode
◆ TuneContext()
tvm::meta_schedule::TuneContext::TuneContext |
( |
Optional< IRModule > |
mod, |
|
|
Optional< Target > |
target, |
|
|
Optional< SpaceGenerator > |
space_generator, |
|
|
Optional< SearchStrategy > |
search_strategy, |
|
|
Optional< Array< ScheduleRule >> |
sch_rules, |
|
|
Optional< Array< Postproc >> |
postprocs, |
|
|
Optional< Map< Mutator, FloatImm >> |
mutator_probs, |
|
|
Optional< String > |
task_name, |
|
|
PackedFunc |
logging_func, |
|
|
support::LinearCongruentialEngine::TRandState |
rand_state, |
|
|
int |
num_threads |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
mod | The workload to be tuned. |
target | The target to be tuned for. |
space_generator | The design space generator. |
search_strategy | The search strategy. |
sch_rules | The schedule rules. |
postprocs | The postprocessors. |
mutator_probs | The probability of using certain mutator. |
task_name | The name of the tuning task. |
logging_func | The tuning task's logging function. |
rand_state | The random state. |
num_threads | The number of threads to be used. |
◆ TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: