|
tvm
|
Attributes used in topk operator. More...
#include <sorting.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.TopKAttrs", TopKAttrs, AttrsNode) | |
Public Member Functions inherited from tvm::AttrsNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", AttrsNode, ffi::Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Public Attributes | |
| int | k |
| int | axis |
| bool | largest |
| ffi::String | ret_type |
| ffi::Optional< DLDataType > | dtype |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::AttrsNode | |
| 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 | , | ||
| AttrsNode | |||
| ) |
| int tvm::relax::TopKAttrs::axis |
| ffi::Optional<DLDataType> tvm::relax::TopKAttrs::dtype |
| int tvm::relax::TopKAttrs::k |
| bool tvm::relax::TopKAttrs::largest |
| ffi::String tvm::relax::TopKAttrs::ret_type |