From 0782d2ea28fbbf795bfe681424277830b755200a Mon Sep 17 00:00:00 2001 From: Ofir Gordon Date: Wed, 3 Jan 2024 16:11:52 +0200 Subject: [PATCH] Remove per-channel flag from QuantizationConfig in MobileNetv2 Keras notebook (#915) Co-authored-by: Ofir Gordon --- tutorials/notebooks/example_keras_imagenet.ipynb | 2 -- 1 file changed, 2 deletions(-) diff --git a/tutorials/notebooks/example_keras_imagenet.ipynb b/tutorials/notebooks/example_keras_imagenet.ipynb index 265c46c86..508ebf953 100644 --- a/tutorials/notebooks/example_keras_imagenet.ipynb +++ b/tutorials/notebooks/example_keras_imagenet.ipynb @@ -337,13 +337,11 @@ "\n", "# Set the following quantization configurations:\n", "# Choose the desired QuantizationErrorMethod for the quantization parameters search.\n", - "# Enable per-channel weights quantization.\n", "# Enable weights bias correction induced by quantization.\n", "# Enable shift negative corrections for improving 'signed' non-linear functions quantization (such as swish, prelu, etc.) \n", "# Set the threshold to filter outliers with z_score of 16. \n", "q_config = mct.QuantizationConfig(activation_error_method=QuantizationErrorMethod.MSE,\n", " weights_error_method=QuantizationErrorMethod.MSE,\n", - " weights_per_channel_threshold=True,\n", " weights_bias_correction=True,\n", " shift_negative_activation_correction=True,\n", " z_threshold=16)\n",