24#ifndef TVM_RELAX_ATTRS_QDQ_H_
25#define TVM_RELAX_ATTRS_QDQ_H_
38 namespace refl = tvm::ffi::reflection;
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));
Base class of all attribute class.
Definition attrs.h:49
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
Attributes for relax.quantize/relax.dequantize operator.
Definition qdq.h:33
static void RegisterReflection()
Definition qdq.h:37
DLDataType out_dtype
Definition qdq.h:34
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.QuantizeAttrs", QuantizeAttrs, AttrsNode)
int axis
Definition qdq.h:35