Skip to content

Commit 075b9f7

Browse files
Fix rebase
1 parent 5dd9645 commit 075b9f7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/nncf/quantization/algorithms/weight_compression/scale_estimation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ def activations_to_wc_statistics(activations: list[Tensor], input_channel_axis:
396396
# negative axis (e.g. -1 for the last axis) is converted into corresponding positive value
397397
input_channel_axis = input_channel_axis % len(act.shape)
398398
reduction_shape = tuple(i for i in range(len(act.shape)) if i != input_channel_axis)
399-
reduction_shape = tuple(range(act.ndim - 1))
400399
mean_values.append(fns.mean(act, axis=reduction_shape))
401400
wc_statistics = WCTensorStatistic(mean_values, shapes)
402401
return wc_statistics

0 commit comments

Comments
 (0)