19 #ifndef TVM_META_SCHEDULE_RUNNER_H_ 20 #define TVM_META_SCHEDULE_RUNNER_H_ 26 namespace meta_schedule {
39 v->Visit(
"artifact_path", &artifact_path);
40 v->Visit(
"device_type", &device_type);
41 v->Visit(
"args_info", &args_info);
44 static constexpr
const char*
_type_key =
"meta_schedule.RunnerInput";
73 v->Visit(
"run_secs", &run_secs);
74 v->Visit(
"error_msg", &error_msg);
77 static constexpr
const char*
_type_key =
"meta_schedule.RunnerResult";
128 bool Done()
const {
return f_done(); }
135 static constexpr
const char*
_type_key =
"meta_schedule.RunnerFuture";
179 static constexpr
const char*
_type_key =
"meta_schedule.Runner";
211 ICHECK(f_run !=
nullptr) <<
"PyRunner's Run method not implemented!";
212 return f_run(runner_inputs);
215 static constexpr
const char*
_type_key =
"meta_schedule.PyRunner";
222 #endif // TVM_META_SCHEDULE_RUNNER_H_
#define TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:751
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:36
base class of all object containers.
Definition: object.h:165
Visitor class to get the attributes of an AST/IR node. The content is going to be called for each fie...
Definition: reflection.h:52
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:270
Reference to string objects.
Definition: string.h:129
Base class of all object reference.
Definition: object.h:504
Optional container that to represent to a Nullable variant of T.
Definition: optional.h:51
#define TVM_DECLARE_BASE_OBJECT_INFO(TypeName, ParentType)
helper macro to declare a base object type that can be inherited.
Definition: object.h:641
#define TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:721