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";
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
Managed reference class to IRModuleNode.
Definition: module.h:366
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:289
Runtime primitive data type.
Definition: data_type.h:43
Base class of all object reference.
Definition: object.h:519
base class of all object containers.
Definition: object.h:171
Reference to shape tuple objects.
Definition: shape_tuple.h:85
Managed reference to PrimFuncNode.
Definition: function.h:145
IRModule that holds the functions and type definitions.
tvm::PrimExpr mod(const tvm::PrimExpr &a, const tvm::PrimExpr &b)
Definition: broadcast.h:290
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:1913
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Definitions and helper macros for IR/AST nodes.
A managed object in the TVM runtime.
Reflection and serialization of compiler IR/AST nodes.
Runtime ShapeTuple container types.