Skip to content

Commit 4eae674

Browse files
committed
test
1 parent 8e0a993 commit 4eae674

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

python/paddle/quantization/observers/abs_max.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ def cal_min_max(self, inputs):
7272
)
7373
return 0, abs_max_val
7474

75-
def min_value(self) -> float:
76-
return 0.0
77-
78-
def max_value(self) -> float:
79-
return self._max
80-
8175
def bit_length(self):
8276
return self._quant_bits
8377

@@ -98,6 +92,4 @@ def scales(self):
9892

9993
def zero_points(self):
10094
"""Return output zero points."""
101-
if self._zero_point is None:
102-
self.cal_thresholds()
10395
return self._zero_point

0 commit comments

Comments
 (0)