Managed reference to CostModelObj.
More...
#include <cost_model.h>
Managed reference to CostModelObj.
- See also
- CostModelObj
◆ CostModel()
| tvm::s_tir::meta_schedule::CostModel::CostModel |
( |
ffi::UnsafeInit |
tag, |
|
|
ffi::ObjectPtr< CostModelObj > |
data |
|
) |
| |
|
inlineexplicit |
◆ PyCostModel()
Create a cost model with customized methods on the python-side.
- Parameters
-
| f_load | The packed function of Load. |
| f_save | The packed function of Save. |
| f_update | The packed function of Update. |
| f_predict | The packed function of Predict. |
- Returns
- The cost model created.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::s_tir::meta_schedule::CostModel::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
CostModel |
, |
|
|
ffi::ObjectRef |
, |
|
|
CostModelObj |
|
|
) |
| |
The documentation for this class was generated from the following file: