19 #ifndef TVM_META_SCHEDULE_ARG_INFO_H_ 20 #define TVM_META_SCHEDULE_ARG_INFO_H_ 31 namespace meta_schedule {
36 static constexpr
const char*
_type_key =
"meta_schedule.ArgInfo";
87 v->Visit(
"dtype", &dtype);
88 v->Visit(
"shape", &shape);
91 static constexpr
const char*
_type_key =
"meta_schedule.TensorInfo";
115 TVM_DLL
static TensorInfo FromJSON(
const ObjectRef& json_obj);
122 #endif // TVM_META_SCHEDULE_ARG_INFO_H_ #define TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:758
Definitions and helper macros for IR/AST nodes.
IRModule that holds the functions and type definitions.
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
base class of all object containers.
Definition: object.h:167
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
Runtime primitive data type.
Definition: data_type.h:41
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:289
Managed reference to PrimFuncNode.
Definition: function.h:145
Tensor shape(const Tensor &src, DataType dtype, const std::string name="T_shape", const std::string tag=kInjective)
Get the shape of input tensor.
Definition: transform.h:1768
Base class of all object reference.
Definition: object.h:511
Runtime ShapeTuple container types.
A managed object in the TVM runtime.
#define TVM_DECLARE_FINAL_OBJECT_INFO(TypeName, ParentType)
helper macro to declare type information in a final class.
Definition: object.h:671
Managed reference class to IRModuleNode.
Definition: module.h:348
tvm::PrimExpr mod(const tvm::PrimExpr &a, const tvm::PrimExpr &b)
Definition: broadcast.h:290
Reflection and serialization of compiler IR/AST nodes.
#define TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:728
Reference to shape tuple objects.
Definition: shape_tuple.h:81