19#ifndef TVM_S_TIR_META_SCHEDULE_BUILDER_H_
20#define TVM_S_TIR_META_SCHEDULE_BUILDER_H_
22#include <tvm/ffi/container/array.h>
23#include <tvm/ffi/container/map.h>
24#include <tvm/ffi/function.h>
25#include <tvm/ffi/optional.h>
26#include <tvm/ffi/reflection/registry.h>
27#include <tvm/ffi/string.h>
36namespace meta_schedule {
46 ffi::Optional<ffi::Map<ffi::String, runtime::Tensor>>
params;
49 namespace refl = tvm::ffi::reflection;
50 refl::ObjectDef<BuilderInputNode>()
73 ffi::Optional<ffi::Map<ffi::String, runtime::Tensor>> params = std::nullopt);
86 namespace refl = tvm::ffi::reflection;
87 refl::ObjectDef<BuilderResultNode>()
107 ffi::Optional<ffi::String> error_msg);
127 using FBuild = ffi::TypedFunction<ffi::Array<BuilderResult>(
const ffi::Array<BuilderInput>&)>;
143 explicit Builder(ffi::ObjectPtr<BuilderNode> data) : ffi::ObjectRef(data) {
162 namespace refl = tvm::ffi::reflection;
Managed reference class to IRModuleNode.
Definition module.h:255
Managed reference class to TargetNode.
Definition target.h:134
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
IRModule that holds the functions and type definitions.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
A device-independent managed Tensor abstraction.
Compilation target object.