19 #ifndef TVM_META_SCHEDULE_BUILDER_H_ 20 #define TVM_META_SCHEDULE_BUILDER_H_ 26 namespace meta_schedule {
37 v->Visit(
"mod", &mod);
38 v->Visit(
"target", &target);
41 static constexpr
const char*
_type_key =
"meta_schedule.BuilderInput";
69 v->Visit(
"artifact_path", &artifact_path);
70 v->Visit(
"error_msg", &error_msg);
73 static constexpr
const char*
_type_key =
"meta_schedule.BuilderResult";
110 static constexpr
const char*
_type_key =
"meta_schedule.Builder";
140 ICHECK(f_build !=
nullptr) <<
"PyBuilder's Build method not implemented!";
141 return f_build(build_inputs);
144 static constexpr
const char*
_type_key =
"meta_schedule.PyBuilder";
151 #endif // TVM_META_SCHEDULE_BUILDER_H_
#define TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:751
IRModule that holds the functions and type definitions.
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
Please refer to TypedPackedFunc<R(Args..)>.
Definition: packed_func.h:136
Managed reference class to TargetNode.
Definition: target.h:132
Base class of all object reference.
Definition: object.h:504
Managed reference class to IRModuleNode.
Definition: module.h:352
runtime::Module Build(IRModule mod, Target target)
Build a module from array of lowered function.
Compilation target object.
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