tvm
|
Attributes used in argsort operator. More...
#include <sorting.h>
Public Member Functions | |
TVM_FFI_DECLARE_FINAL_OBJECT_INFO (ArgsortAttrs, BaseAttrsNode) | |
![]() | |
void | InitByPackedArgs (const ffi::PackedArgs &args, bool allow_unknown) final |
Initialize the attributes by arguments. More... | |
![]() | |
virtual | ~BaseAttrsNode () |
virtual destructor More... | |
template<typename... Args> | |
void | InitBySeq (Args &&... args) |
Initialize the attributes by sequence of arguments. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (BaseAttrsNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
int | axis |
bool | descending |
DataType | dtype |
Static Public Attributes | |
static constexpr const char * | _type_key = "relax.attrs.ArgsortAttrs" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Attrs" |
Attributes used in argsort operator.
|
inlinestatic |
tvm::relax::ArgsortAttrs::TVM_FFI_DECLARE_FINAL_OBJECT_INFO | ( | ArgsortAttrs | , |
BaseAttrsNode | |||
) |
|
staticconstexpr |
int tvm::relax::ArgsortAttrs::axis |
bool tvm::relax::ArgsortAttrs::descending |
DataType tvm::relax::ArgsortAttrs::dtype |