Extractor for features from measure candidates for use in cost model.
More...
#include <feature_extractor.h>
Extractor for features from measure candidates for use in cost model.
◆ ~FeatureExtractorObj()
| virtual tvm::s_tir::meta_schedule::FeatureExtractorObj::~FeatureExtractorObj |
( |
| ) |
|
|
virtualdefault |
◆ ExtractFrom()
| virtual ffi::Array< tvm::ffi::Tensor > tvm::s_tir::meta_schedule::FeatureExtractorObj::ExtractFrom |
( |
const TuneContext & |
context, |
|
|
const ffi::Array< MeasureCandidate > & |
candidates |
|
) |
| |
|
pure virtual |
Extract features from the given measure candidate.
- Parameters
-
| context | The tuning context for feature extraction. |
| candidates | The measure candidates to extract features from. |
- Returns
- The feature tensor extracted.
Implemented in tvm::s_tir::meta_schedule::PyFeatureExtractorObj.
◆ RegisterReflection()
| static void tvm::s_tir::meta_schedule::FeatureExtractorObj::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO()
| tvm::s_tir::meta_schedule::FeatureExtractorObj::TVM_FFI_DECLARE_OBJECT_INFO |
( |
"s_tir.meta_schedule.FeatureExtractor" |
, |
|
|
FeatureExtractorObj |
, |
|
|
ffi::Object |
|
|
) |
| |
The documentation for this class was generated from the following file: