Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-lyakhov committed Sep 25, 2023
1 parent b669068 commit f75dbe1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,7 @@ def test_calculate_quantizer_parameters(self, case_to_test):
else:
max_values = np.amax(data, axis=axes, keepdims=q_config.per_channel)

statistics = self.tensor_statistic(
{MinMaxTensorStatistic.MIN_STAT: min_values, MinMaxTensorStatistic.MAX_STAT: max_values}
)
statistics = self.tensor_statistic(min_values=min_values, max_values=max_values)

if not case_to_test.should_fail:
fq_params = calculate_quantizer_parameters(statistics, q_config, quant_group, narrow_range, half_range)
Expand Down

0 comments on commit f75dbe1

Please sign in to comment.