|
tvm
|
Attributes used in topk operator. More...
#include <sorting.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.TopKAttrs", TopKAttrs, BaseAttrsNode) | |
Public Member Functions inherited from tvm::AttrsNodeReflAdapter< TopKAttrs > | |
| void | InitByPackedArgs (const ffi::PackedArgs &args, bool allow_unknown) final |
| Initialize the attributes by arguments. More... | |
Public Member Functions inherited from tvm::BaseAttrsNode | |
| virtual | ~BaseAttrsNode () |
| virtual destructor More... | |
| template<typename... Args> | |
| void | InitBySeq (Args &&... args) |
| Initialize the attributes by sequence of arguments. More... | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", BaseAttrsNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Public Attributes | |
| int | k |
| int | axis |
| bool | largest |
| ffi::String | ret_type |
| DataType | dtype |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::BaseAttrsNode | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
Attributes used in topk operator.
|
inlinestatic |
| tvm::relax::TopKAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.attrs.TopKAttrs" | , |
| TopKAttrs | , | ||
| BaseAttrsNode | |||
| ) |
| int tvm::relax::TopKAttrs::axis |
| DataType tvm::relax::TopKAttrs::dtype |
| int tvm::relax::TopKAttrs::k |
| bool tvm::relax::TopKAttrs::largest |
| ffi::String tvm::relax::TopKAttrs::ret_type |