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));
Adapter for AttrsNode with the new reflection API.
Definition: attrs.h:385
Base class of all attribute class.
Definition: attrs.h:102
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
static void RegisterReflection()
Definition: qdq.h:37
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.QuantizeAttrs", QuantizeAttrs, BaseAttrsNode)
DataType out_dtype
Definition: qdq.h:34
int axis
Definition: qdq.h:35