diff --git a/test/test_quantized.py b/test/test_quantized.py index 7e103708c38a..3f56d56184b3 100644 --- a/test/test_quantized.py +++ b/test/test_quantized.py @@ -14,7 +14,7 @@ def canonical(graph): def _quantize(x, scale, zero_point, qmin=0, qmax=255, qtype=np.uint8): """Quantizes a numpy array.""" - qx = np.round(x / scale + zero_point) + qx = np.round(x/scale + zero_point) qx = np.clip(qx, qmin, qmax).astype(qtype) return qx