24 #ifndef TVM_RELAX_ATTRS_CREATE_H_
25 #define TVM_RELAX_ATTRS_CREATE_H_
37 namespace refl = tvm::ffi::reflection;
39 "The data type of the created tensor.");
49 namespace refl = tvm::ffi::reflection;
50 refl::ObjectDef<TriluAttrs>().def_ro(
52 "The number of diagonals above or below the main diagonal to exclude or include.");
Adapter for AttrsNode with the new reflection API.
Definition: attrs.h:391
Base class of all attribute class.
Definition: attrs.h:102
Runtime primitive data type.
Definition: data_type.h:45
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition: analyzer.h:37
Attributes used in full/full_like, ones/ones_like, and zeros/zeros_like operators.
Definition: create.h:33
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.InitAttrs", InitAttrs, BaseAttrsNode)
static void RegisterReflection()
Definition: create.h:36
DataType dtype
Definition: create.h:34
Attributes used in tril and triu operator.
Definition: create.h:45
int k
Definition: create.h:46
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.TriluAttrs", TriluAttrs, BaseAttrsNode)
static void RegisterReflection()
Definition: create.h:48