From 41c76fe3b501b7c6f6351234d283bd896f9309ca Mon Sep 17 00:00:00 2001 From: Aleksei Kashapov Date: Fri, 1 Mar 2024 13:57:12 +0100 Subject: [PATCH] apply comments --- nncf/quantization/algorithms/bias_correction/onnx_backend.py | 1 - .../quantization/algorithms/fast_bias_correction/onnx_backend.py | 1 - 2 files changed, 2 deletions(-) diff --git a/nncf/quantization/algorithms/bias_correction/onnx_backend.py b/nncf/quantization/algorithms/bias_correction/onnx_backend.py index a075f16aab5..6636d6b9648 100644 --- a/nncf/quantization/algorithms/bias_correction/onnx_backend.py +++ b/nncf/quantization/algorithms/bias_correction/onnx_backend.py @@ -71,7 +71,6 @@ def mean_statistic_collector( num_samples: Optional[int] = None, window_size: Optional[int] = None, ) -> TensorCollector: - inplace = False return get_mean_statistic_collector(num_samples, channel_axis, window_size, inplace) @staticmethod diff --git a/nncf/quantization/algorithms/fast_bias_correction/onnx_backend.py b/nncf/quantization/algorithms/fast_bias_correction/onnx_backend.py index fcbd1e3ee18..f9f2e98d125 100644 --- a/nncf/quantization/algorithms/fast_bias_correction/onnx_backend.py +++ b/nncf/quantization/algorithms/fast_bias_correction/onnx_backend.py @@ -54,7 +54,6 @@ def mean_statistic_collector( num_samples: Optional[int] = None, window_size: Optional[int] = None, ) -> TensorCollector: - inplace = False return get_mean_statistic_collector(num_samples, channel_axis, window_size, inplace) @staticmethod