19 #ifndef TVM_META_SCHEDULE_ARG_INFO_H_ 20 #define TVM_META_SCHEDULE_ARG_INFO_H_ 27 namespace meta_schedule {
32 static constexpr
const char*
_type_key =
"meta_schedule.ArgInfo";
76 v->Visit(
"dtype", &dtype);
77 v->Visit(
"shape", &shape);
80 static constexpr
const char*
_type_key =
"meta_schedule.TensorInfo";
104 TVM_DLL
static TensorInfo FromJSON(
const ObjectRef& json_obj);
111 #endif // TVM_META_SCHEDULE_ARG_INFO_H_ #define TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:751
Definitions and helper macros for IR/AST nodes.
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
Runtime primitive data type.
Definition: data_type.h:41
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:270
Managed reference to PrimFuncNode.
Definition: function.h:135
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:1608
Base class of all object reference.
Definition: object.h:504
Runtime ShapeTuple container types.
#define TVM_DECLARE_FINAL_OBJECT_INFO(TypeName, ParentType)
helper macro to declare type information in a final class.
Definition: object.h:664
#define TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:721
Reference to shape tuple objects.
Definition: shape_tuple.h:81