activation quantization is not same In the paper : x(real) is in range[0 ~ 1] : clamp(input, 0, 1) then, quantize(x) In your implementation: clamp(input * 0.1, 0, 1)