24 #ifndef TVM_RELAX_ATTRS_QDQ_H_
25 #define TVM_RELAX_ATTRS_QDQ_H_
39 refl::ObjectDef<QuantizeAttrs>()
42 "The output channel axis for channel wise quantization/dequantization. "
43 "Default value is -1, which corresponds to the last axis.",
44 refl::DefaultValue(-1));
47 static constexpr
const char*
_type_key =
"relax.attrs.QuantizeAttrs";
Adapter for AttrsNode with the new reflection API.
Definition: attrs.h:384
Base class of all attribute class.
Definition: attrs.h:103
Runtime primitive data type.
Definition: data_type.h:47
Definition: repr_printer.h:91
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:37
Attributes for relax.quantize/relax.dequantize operator.
Definition: qdq.h:33
TVM_FFI_DECLARE_FINAL_OBJECT_INFO(QuantizeAttrs, BaseAttrsNode)
static void RegisterReflection()
Definition: qdq.h:37
static constexpr const char * _type_key
Definition: qdq.h:47
DataType out_dtype
Definition: qdq.h:34
int axis
Definition: qdq.h:35