24#ifndef TVM_RELAX_ATTRS_CREATE_H_
25#define TVM_RELAX_ATTRS_CREATE_H_
34 ffi::Optional<DLDataType>
dtype;
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.");
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 full/full_like, ones/ones_like, and zeros/zeros_like operators.
Definition create.h:33
ffi::Optional< DLDataType > dtype
Definition create.h:34
static void RegisterReflection()
Definition create.h:36
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.InitAttrs", InitAttrs, AttrsNode)
Attributes used in tril and triu operator.
Definition create.h:45
int k
Definition create.h:46
static void RegisterReflection()
Definition create.h:48
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.TriluAttrs", TriluAttrs, AttrsNode)