Managed reference to TuneContextNode.
More...
#include <tune_context.h>
Managed reference to TuneContextNode.
- See also
- TuneContextNode
◆ TRandState
◆ TuneContext() [1/2]
tvm::meta_schedule::TuneContext::TuneContext |
( |
ObjectPtr< TuneContextNode > |
data | ) |
|
|
inlineexplicit |
Constructor from ObjectPtr<TuneContextNode>.
- Parameters
-
◆ TuneContext() [2/2]
tvm::meta_schedule::TuneContext::TuneContext |
( |
ffi::Optional< IRModule > |
mod, |
|
|
ffi::Optional< Target > |
target, |
|
|
ffi::Optional< SpaceGenerator > |
space_generator, |
|
|
ffi::Optional< SearchStrategy > |
search_strategy, |
|
|
ffi::Optional< ffi::String > |
task_name, |
|
|
int |
num_threads, |
|
|
TRandState |
rand_state, |
|
|
ffi::Function |
logger |
|
) |
| |
|
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. |
task_name | The name of the tuning task. |
num_threads | The number of threads to be used. |
rand_state | The random state. |
logger | The tuning task's logging function. |
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file: