tvm
|
Attributes for relax.quantize/relax.dequantize operator. More...
#include <qdq.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.QuantizeAttrs", QuantizeAttrs, 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_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", BaseAttrsNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
DataType | out_dtype |
int | axis |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
Attributes for relax.quantize/relax.dequantize operator.
|
inlinestatic |
tvm::relax::QuantizeAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.attrs.QuantizeAttrs" | , |
QuantizeAttrs | , | ||
BaseAttrsNode | |||
) |
int tvm::relax::QuantizeAttrs::axis |
DataType tvm::relax::QuantizeAttrs::out_dtype |