Tensorflow code for quantization From all the papars i have reffered for CNN quantization the quantization scheme is stated as
step size = range/255 for 8-bit here range = xmax-xmin but as shown in the image in the tensorflow implementation
range is given by range = std::max(std::abs(*min_value), std::abs(*max_value));
CAN ANY ONE TELL ME THE DIFFERENCE OR PURPOSE