BRECQ
BRECQ copied to clipboard
How could I get scale and offset with scalar-type form?
the scale and offset of UniformAffineQuantizer are tensor-type data after I finished quantization. How to convert them to scalar data ,used to generate quantization form. @yhhhli such as:
Encoding:{ bitwidth: integer is_symmetric: string max: float min: float offset: integer scale: float }
and