19 #ifndef TVM_META_SCHEDULE_SPACE_GENERATOR_H_ 20 #define TVM_META_SCHEDULE_SPACE_GENERATOR_H_ 26 namespace meta_schedule {
86 static constexpr
const char*
_type_key =
"meta_schedule.SpaceGenerator";
116 ICHECK(f_initialize_with_tune_context !=
nullptr)
117 <<
"PySpaceGenerator's InitializeWithTuneContext !";
118 f_initialize_with_tune_context(tune_context);
122 ICHECK(f_generate_design_space !=
nullptr)
123 <<
"PySpaceGenerator's GenerateDesignSpace method not implemented!";
124 return f_generate_design_space(
mod);
127 static constexpr
const char*
_type_key =
"meta_schedule.PySpaceGenerator";
162 #endif // TVM_META_SCHEDULE_SPACE_GENERATOR_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
Managed reference to TuneContextNode.
Definition: tune_context.h:76
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
Base class of all object reference.
Definition: object.h:504
#define TVM_DECLARE_FINAL_OBJECT_INFO(TypeName, ParentType)
helper macro to declare type information in a final class.
Definition: object.h:664
Managed reference class to IRModuleNode.
Definition: module.h:352
tvm::PrimExpr mod(const tvm::PrimExpr &a, const tvm::PrimExpr &b)
Definition: broadcast.h:271