Managed reference to MeasureCallbackObj.
More...
#include <measure_callback.h>
◆ MeasureCallback()
| tvm::s_tir::meta_schedule::MeasureCallback::MeasureCallback |
( |
ffi::UnsafeInit |
tag, |
|
|
ffi::ObjectPtr< MeasureCallbackObj > |
data |
|
) |
| |
|
inlineexplicit |
◆ AddToDatabase()
| static MeasureCallback tvm::s_tir::meta_schedule::MeasureCallback::AddToDatabase |
( |
| ) |
|
|
static |
Create a measure callback that adds the measurement results into the database.
- Returns
- The measure callback created.
◆ Default()
| static ffi::Array< MeasureCallback, void > tvm::s_tir::meta_schedule::MeasureCallback::Default |
( |
| ) |
|
|
static |
The default list of measure callbacks.
◆ PyMeasureCallback()
Create a measure callback with customized methods on the python-side.
- Parameters
-
| f_apply | The packed function of Apply. |
- Returns
- The measure callback created.
◆ RemoveBuildArtifact()
| static MeasureCallback tvm::s_tir::meta_schedule::MeasureCallback::RemoveBuildArtifact |
( |
| ) |
|
|
static |
Create a measure callback that removes the build artifacts from the disk.
- Returns
- The measure callback created.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
◆ UpdateCostModel()
| static MeasureCallback tvm::s_tir::meta_schedule::MeasureCallback::UpdateCostModel |
( |
| ) |
|
|
static |
Create a measure callback that updates the cost model with measurement result.
- Returns
- The measure callback created.
The documentation for this class was generated from the following file: