24 #ifndef TVM_RELAX_ATTRS_DATATYPE_H_
25 #define TVM_RELAX_ATTRS_DATATYPE_H_
38 refl::ObjectDef<AstypeAttrs>().def_ro(
"dtype", &
AstypeAttrs::dtype,
"Target data type");
Adapter for AttrsNode with the new reflection API.
Definition: attrs.h:385
Base class of all attribute class.
Definition: attrs.h:102
Runtime primitive data type.
Definition: data_type.h:47
Definition: repr_printer.h:91
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:37
Attributes used in astype operator.
Definition: datatype.h:33
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.AstypeAttrs", AstypeAttrs, BaseAttrsNode)
DataType dtype
Definition: datatype.h:34
static void RegisterReflection()
Definition: datatype.h:36
Attributes used in wrap_param operator.
Definition: datatype.h:44
DataType dtype
Definition: datatype.h:45
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.WrapParamAttrs", WrapParamAttrs, BaseAttrsNode)
static void RegisterReflection()
Definition: datatype.h:47