24#ifndef TVM_RELAX_ATTRS_DATATYPE_H_
25#define TVM_RELAX_ATTRS_DATATYPE_H_
37 namespace refl = tvm::ffi::reflection;
38 refl::ObjectDef<AstypeAttrs>().def_ro(
"dtype", &
AstypeAttrs::dtype,
"Target data type");
48 namespace refl = tvm::ffi::reflection;
Base class of all attribute class.
Definition attrs.h:49
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
Attributes used in astype operator.
Definition datatype.h:33
DLDataType dtype
Definition datatype.h:34
static void RegisterReflection()
Definition datatype.h:36
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.AstypeAttrs", AstypeAttrs, AttrsNode)
Attributes used in wrap_param operator.
Definition datatype.h:44
static void RegisterReflection()
Definition datatype.h:47
DLDataType dtype
Definition datatype.h:45
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.WrapParamAttrs", WrapParamAttrs, AttrsNode)