24 #ifndef TVM_RELAX_ATTRS_SEARCH_H_
25 #define TVM_RELAX_ATTRS_SEARCH_H_
34 ffi::Optional<int64_t>
axis;
38 namespace refl = tvm::ffi::reflection;
39 refl::ObjectDef<ArgmaxArgminAttrs>()
41 "The axis along which to perform the argmin/argmax.")
43 "If this is set to `True`, the reduced axis is left in the result as dimension "
56 namespace refl = tvm::ffi::reflection;
57 refl::ObjectDef<BucketizeAttrs>()
59 "Indicate the output datatype, int32 if True, int64 otherwise.")
61 "Determines the behavior for values in boundaries");
Base class of all attribute class.
Definition: attrs.h:49
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition: analyzer.h:40
Attributes for search operators.
Definition: search.h:33
bool keepdims
Definition: search.h:35
static void RegisterReflection()
Definition: search.h:37
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.ArgmaxArgminAttrs", ArgmaxArgminAttrs, AttrsNode)
ffi::Optional< int64_t > axis
Definition: search.h:34
Attributes for bucketize operator.
Definition: search.h:51
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.BucketizeAttrs", BucketizeAttrs, AttrsNode)
static void RegisterReflection()
Definition: search.h:55
bool right
Definition: search.h:53
bool out_int32
Definition: search.h:52