tvm
|
The class of tuning records. More...
#include <database.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (TuningRecordNode, runtime::Object) | |
MeasureCandidate | AsMeasureCandidate () const |
Construct the measure candidate given the initial IR module and trace stored in the tuning record. More... | |
ObjectRef | AsJSON () const |
Export the tuning record to a JSON string. More... | |
bool | IsValid () const |
Check if this tuning record has valid trace instructions and successful run results. More... | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
tir::Trace | trace |
The trace tuned. More... | |
Workload | workload {nullptr} |
The workload. More... | |
Optional< Array< FloatImm > > | run_secs |
The profiling result in seconds. More... | |
Optional< Target > | target |
The target for tuning. More... | |
Optional< Array< ArgInfo > > | args_info |
The argument information. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "meta_schedule.TuningRecord" |
The class of tuning records.
ObjectRef tvm::meta_schedule::TuningRecordNode::AsJSON | ( | ) | const |
Export the tuning record to a JSON string.
MeasureCandidate tvm::meta_schedule::TuningRecordNode::AsMeasureCandidate | ( | ) | const |
Construct the measure candidate given the initial IR module and trace stored in the tuning record.
bool tvm::meta_schedule::TuningRecordNode::IsValid | ( | ) | const |
Check if this tuning record has valid trace instructions and successful run results.
|
inlinestatic |
tvm::meta_schedule::TuningRecordNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | TuningRecordNode | , |
runtime::Object | |||
) |
|
staticconstexpr |
Optional<Array<ArgInfo> > tvm::meta_schedule::TuningRecordNode::args_info |
The argument information.
Optional<Array<FloatImm> > tvm::meta_schedule::TuningRecordNode::run_secs |
The profiling result in seconds.
Optional<Target> tvm::meta_schedule::TuningRecordNode::target |
The target for tuning.
tir::Trace tvm::meta_schedule::TuningRecordNode::trace |
The trace tuned.
Workload tvm::meta_schedule::TuningRecordNode::workload {nullptr} |
The workload.