mct-nightly 1.7.1.31122022.post351__tar.gz → 1.8.0.1042023.post423__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/PKG-INFO +16 -16
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/README.md +15 -15
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/mct_nightly.egg-info/PKG-INFO +16 -16
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/mct_nightly.egg-info/SOURCES.txt +99 -56
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/__init__.py +13 -14
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/back2framework/base_model_builder.py +1 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/base_collector.py +7 -4
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/statistics_collector.py +2 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/constants.py +9 -4
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/framework_implementation.py +32 -30
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/base_graph.py +8 -6
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/logger.py +10 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/base_matcher.py +3 -3
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_quantization_config.py +2 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_search_facade.py +2 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_search_manager.py +2 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/search_methods/linear_programming.py +6 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/model_validation.py +2 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/node_quantization_config.py +3 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_fn_selection.py +7 -4
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/lut_kmeans_params.py +4 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_activations_computation.py +14 -17
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantizers/quantizers_helpers.py +9 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantizers/uniform_quantizers.py +5 -4
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/set_node_quantization_config.py +3 -3
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/batchnorm_reconstruction.py +7 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/batchnorm_refusing.py +13 -8
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/shift_negative_activation.py +17 -12
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/weights_activation_split.py +1 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/current_tp_model.py +3 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/attribute_filter.py +17 -4
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/operations_to_layers.py +2 -4
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/target_platform_capabilities.py +3 -5
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/instance_builder.py +12 -21
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/keras_model_builder.py +40 -14
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/model_gradients.py +51 -27
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/constants.py +1 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/multi_head_attention_decomposition.py +2 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/kpi_data_facade.py +2 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantization_facade.py +3 -3
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/fake_quant_builder.py +15 -9
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/input_layer_quantize_transform.py +2 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/lut_fake_quant.py +1 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/common.py +3 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/instance_builder.py +14 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/model_gradients.py +88 -46
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/pytorch_model_builder.py +27 -12
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/wrapper_quantize_config.py +2 -3
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/constants.py +5 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/multi_head_attention_decomposition.py +9 -14
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/reshape_with_static_shapes.py +16 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/kpi_data_facade.py +2 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/quantization_facade.py +2 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/quantizer/fake_quant_builder.py +7 -5
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/quantizer/lut_fake_quant.py +1 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/get_target_platform_capabilities.py +6 -2
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/__init__.py +14 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_exporter → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/latest}/__init__.py +8 -11
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/target_platform_capabilities.py +45 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/v1/__init__.py +16 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/v1/tp_model.py +156 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/v1/tpc_keras.py +101 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/core/tpc_models/imx500_tpc/v1/tpc_pytorch.py +95 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter}/__init__.py +3 -4
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/__init__.py +15 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/fw_agonstic/exporter.py +1 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/keras/fakely_quant_keras_exporter.py +12 -39
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/keras/keras_export_facade.py +70 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_onnx_pytorch_exporter.py +10 -2
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_torchscript_pytorch_exporter.py +6 -2
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/pytorch/pytorch_export_facade.py +79 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/tflite/fakely_quant_tflite_exporter.py +3 -2
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/tflite/int8_tflite_exporter.py +180 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/tflite/tflite_export_facade.py +73 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/__init__.py +20 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/keras/builder/fully_quantized_model_builder.py +65 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizer.py +143 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizers.py +46 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/keras/validate_layer.py +82 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/fully_quantized_model_builder.py +61 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizer.py +139 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizers.py +47 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/pytorch/validate_layer.py +44 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/__init__.py +20 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/common/gptq_config.py +185 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/common/gptq_constants.py +25 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/common/gptq_graph.py +22 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/common/gptq_training.py +32 -26
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/keras/gptq_loss.py +1 -1
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/keras/gptq_training.py +73 -39
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/keras/graph_info.py +24 -43
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/keras/quantization_facade.py +10 -18
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/__init__.py +17 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/base_keras_gptq_quantizer.py +112 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/keras/quantizer/quant_utils.py +13 -14
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/quantization_builder.py +78 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/regularization_factory.py +45 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/soft_quantizer_reg.py +112 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/symmetric_soft_quantizer.py +256 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/symmetric_ste.py +181 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/pytorch/gptq_training.py +78 -39
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/graph_info.py +81 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/pytorch/quantization_facade.py +12 -18
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/__init__.py +18 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/base_pytorch_gptq_quantizer.py +92 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/quant_utils.py +104 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/quantization_builder.py +75 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/regularization_factory.py +45 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/soft_quantizer_reg.py +115 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/symmetric_soft_quantizer.py +244 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/uniform_soft_quantizer.py +196 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/symmetric_ste.py +182 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/ptq/keras/quantization_facade.py +3 -3
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/ptq/pytorch/quantization_facade.py +7 -6
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/common/qat_config.py +68 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/qat/keras/quantization_facade.py +55 -48
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/__init__.py +17 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/base_keras_qat_quantizer.py +49 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/quant_utils.py +48 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/quantization_builder.py +77 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/ste_rounding/symmetric_ste.py +283 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/ste_rounding/uniform_ste.py +238 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantization_facade.py +227 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/__init__.py +17 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/base_pytorch_qat_quantizer.py +49 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/quantization_builder.py +74 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/quantizer_utils.py +136 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/symmetric_ste.py +204 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/uniform_ste.py +190 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/__init__.py +23 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/base_inferable_quantizer.py +87 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/constants.py +41 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/get_all_subclasses.py +31 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/get_quantizers.py +53 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/quant_utils.py +49 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/__init__.py +14 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure}/keras/load_model.py +26 -8
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantize_wrapper.py +345 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizer_utils.py +85 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/__init__.py +27 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_lut_pot_inferable_quantizer.py +148 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_pot_inferable_quantizer.py +65 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_symmetric_inferable_quantizer.py +86 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_uniform_inferable_quantizer.py +111 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/base_keras_inferable_quantizer.py +56 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/constants.py +25 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_lut_pot_inferable_quantizer.py +79 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_lut_symmetric_inferable_quantizer.py +179 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_pot_inferable_quantizer.py +67 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_symmetric_inferable_quantizer.py +87 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_uniform_inferable_quantizer.py +163 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/validation_functions.py +66 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantize_wrapper.py +269 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizer_utils.py +152 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/__init__.py +35 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_lut_pot_inferable_quantizer.py +97 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_pot_inferable_quantizer.py +62 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_symmetric_inferable_quantizer.py +83 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_uniform_inferable_quantizer.py +100 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_lut_symmetric_inferable_quantizer.py +95 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_pytorch_inferable_quantizer.py +48 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_symmetric_inferable_quantizer.py +70 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_uniform_inferable_quantizer.py +57 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/constants.py +26 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_lut_pot_inferable_quantizer.py +77 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_lut_symmetric_inferable_quantizer.py +106 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_pot_inferable_quantizer.py +66 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_symmetric_inferable_quantizer.py +104 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_uniform_inferable_quantizer.py +109 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/base_trainable_quantizer.py +200 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/get_quantizer_config.py +116 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/get_quantizers.py +65 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/quant_utils.py +36 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/trainable_quantizer_config.py +97 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/base_keras_quantizer.py +90 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/config_serialization.py +80 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/quantizer_utils.py +48 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/pytorch/__init__.py +14 -0
- mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/pytorch/base_pytorch_quantizer.py +66 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/setup.cfg +1 -1
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_exporter/keras/keras_export_facade.py +0 -58
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_exporter/pytorch/pytorch_export_facade.py +0 -66
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_exporter/tflite/tflite_export_facade.py +0 -55
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/builder/fully_quantized_model_builder.py +0 -168
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/builder/quantize_config_to_node.py +0 -66
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/builder/quantizer_to_node.py +0 -134
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/extended_quantize_wrapper.py +0 -81
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/activation_quantize_config.py +0 -81
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/weights_activation_quantize_config.py +0 -128
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/weights_quantize_config.py +0 -107
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantizers/fq_quantizer.py +0 -99
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantizers/weights_uniform_quantizer.py +0 -105
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/validate_layer.py +0 -48
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/fully_quantized_model_builder.py +0 -144
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantize_config.py +0 -61
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizer.py +0 -135
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/quantizers/fq_quantizer.py +0 -59
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/quantizers/uniform_weights_quantizer.py +0 -67
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/activation_quantize_config.py +0 -52
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/no_quantization_quantize_config.py +0 -46
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/weights_activation_quantize_config.py +0 -54
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/weights_quantize_config.py +0 -52
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/common/gptq_config.py +0 -255
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/common/gptq_constants.py +0 -11
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/gptq_model_builder.py +0 -104
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/optimizers/sam_optimizer.py +0 -119
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/__init__.py +0 -16
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/config_factory.py +0 -62
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/configs/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/configs/base_quantizer_gptq_config.py +0 -65
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/configs/weight_quantizer_gptq_config.py +0 -269
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/base_gumbel_rounding.py +0 -263
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/gumbel_softmax.py +0 -75
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/symmetric_gumbel.py +0 -266
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/uniform_gumbel.py +0 -247
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/kernel_functions.py +0 -50
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/symmetric_ste.py +0 -281
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/uniform_ste.py +0 -49
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/gptq_graph_info.py +0 -94
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/gptq_model_builder.py +0 -113
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/gptq_quantizer.py +0 -71
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/gumbel_rounding/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/gumbel_rounding/base_gumbel_weights_quantizer.py +0 -157
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/gumbel_rounding/sym_gumbel_weights_quantizer.py +0 -150
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/gumbel_rounding/uniform_gumbel_weights_quantizer.py +0 -143
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/quant_utils.py +0 -213
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/quantizer_wrapper.py +0 -103
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/ste_weights_quantizer.py +0 -103
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/ptq/pytorch/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/qat_model_builder.py +0 -105
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/quantizer/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/quantizer/quantization_dispatcher_builder.py +0 -56
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/quantizer/ste_rounding/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/quantizer/ste_rounding/symmetirc_ste.py +0 -145
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/keras/quantizer/ste_rounding/uniform_ste.py +0 -126
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/pytorch/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qat/pytorch/quantization_facade.py +0 -48
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/__init__.py +0 -8
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/common/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/common/base_quantizer.py +0 -123
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/common/node_quantization_dispatcher.py +0 -65
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/keras/__init__.py +0 -14
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/keras/base_keras_quantizer.py +0 -75
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/keras/config_serialization.py +0 -83
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/keras/keras_node_quantization_dispatcher.py +0 -74
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/keras/quantize_wrapper.py +0 -194
- mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/qunatizers_infrastructure/pytorch/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/LICENSE.md +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/mct_nightly.egg-info/dependency_links.txt +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/mct_nightly.egg-info/requires.txt +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/mct_nightly.egg-info/top_level.txt +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/analyzer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/back2framework/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/base_substitutions.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/histogram_collector.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/mean_collector.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/min_max_per_channel_collector.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/collectors/statistics_collector_generator.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/data_loader.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/defaultdict.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/framework_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/fusion/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/fusion/layer_fusing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/base_node.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/edge.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/functional_node.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/graph_matchers.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/graph_searches.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/bipartite_graph.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/compute_graph_max_cut.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/cut.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/max_cut_astar.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/memory_element.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/memory_graph/memory_graph.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/graph/virtual_activation_weights_node.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/immutable.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/base_graph_filter.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/edge_matcher.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/function.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/node_matcher.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/matchers/walk_matcher.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/memory_computation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/bit_width_setter.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/distance_weighting.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_aggregation_methods.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_data.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_functions_mapping.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_methods.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/search_methods/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/sensitivity_evaluation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/mixed_precision/solution_refinement_procedure.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/model_builder_mode.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/model_collector.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/network_editors/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/network_editors/actions.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/network_editors/edit_network.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/network_editors/node_filters.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/node_prior_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/candidate_node_quantization_config.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/core_config.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/debug_config.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/filter_nodes_candidates.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_analyzer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_config.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_fn_selection.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/error_functions.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/kmeans_params.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/outlier_filter.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/power_of_two_selection.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_computation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_search.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_weights_computation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/symmetric_selection.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantization_params_generation/uniform_selection.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantize_graph_weights.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantize_node.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantizers/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantizers/kmeans_quantizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/quantization/quantizers/lut_kmeans_quantizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/similarity_analyzer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/statistics_correction/apply_bias_correction_to_graph.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/statistics_correction/apply_second_moment_correction_to_graph.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/statistics_correction/compute_bias_correction_of_graph.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/statistics_correction/statistics_correction.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/apply_substitutions.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/linear_collapsing_substitution.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/fusing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/op_quantization_config.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/operators.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/target_platform_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/target_platform_model_component.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/current_tpc.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/layer_filter_params.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/target_platform/targetplatform2framework/target_platform_capabilities_component.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/user_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/visualization/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/visualization/final_config_visualizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/visualization/nn_visualizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/common/visualization/tensorboard_writer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/exporter.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/factory_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/float_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/mixed_precision_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/back2framework/quantized_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/default_framework_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/activation_decomposition.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/input_scaling.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/relu_bound_to_power_of_2.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/remove_relu_upper_bound.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/separableconv_decomposition.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/keras_implementation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/keras_model_validation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/keras_node_prior_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/mixed_precision/set_layer_to_bitwidth.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/base_quantizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/mixed_precision/quantization_config_factory.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/mixed_precision/selective_activation_quantizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/mixed_precision/selective_quantize_config.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/quantizer/mixed_precision/selective_weights_quantizer.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/connectivity_handler.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/nested_model/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/nested_model/edges_merger.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/nested_model/nested_model_handler.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/nested_model/nodes_merger.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/nested_model/outputs_merger.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/node_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/reader/reader.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/statistics_correction/apply_second_moment_correction.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/tf_tensor_numpy.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/keras/visualization/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/factory_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/float_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/mixed_precision_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/quantized_layer_wrapper.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/back2framework/quantized_model_builder.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/default_framework_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/const_holder_conv.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/permute_call_method.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/relu_bound_to_power_of_2.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/mixed_precision/mixed_precision_wrapper.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/mixed_precision/set_layer_to_bitwidth.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/pytorch_implementation.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/pytorch_node_prior_info.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/reader/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/reader/graph_builders.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/reader/node_holders.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/reader/reader.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/statistics_correction/apply_second_moment_correction.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/pytorch/utils.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/runner.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v2/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v2/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v2/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v2/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3_lut/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3_lut/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3_lut/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v3_lut/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4_lut/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4_lut/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4_lut/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v4_lut/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v5/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v5/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v5/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/default_tpc/v5/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/qnnpack_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/core/tpc_models/tflite_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/fw_agonstic}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/keras/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/keras/base_keras_exporter.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/pytorch/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_exporter/pytorch/base_pytorch_exporter.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_exporter/fw_agonstic → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_exporter/tflite}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_exporter/tflite → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/keras}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/keras/builder}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/exporter/model_wrapper/pytorch/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/exporter/model_wrapper/pytorch}/builder/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/common}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/keras/quantizers → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/builder → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/keras/quantizer/ste_rounding}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/quantizers → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/pytorch/gptq_loss.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/gptq/runner.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/ptq}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/common → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/ptq/keras}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/ptq/pytorch}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/ptq/runner.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/quantizer/ste_rounding → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/qat/common/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/model_compression_toolkit/qat/common/constants.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/pytorch → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/ptq → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/keras/quantizer/ste_rounding}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/ptq/keras → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351/model_compression_toolkit/gptq/keras/optimizers → mct-nightly-1.8.0.1042023.post423/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding}/__init__.py +0 -0
- {mct-nightly-1.7.1.31122022.post351 → mct-nightly-1.8.0.1042023.post423}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mct-nightly
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0.1042023.post423
|
|
4
4
|
Summary: A Model Compression Toolkit for neural networks
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
License: UNKNOWN
|
|
@@ -29,8 +29,8 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
29
29
|
## Supported Features
|
|
30
30
|
|
|
31
31
|
MCT supports different quantization methods:
|
|
32
|
-
* Post
|
|
33
|
-
* Gradient-based post
|
|
32
|
+
* Post-training quantization (PTQ): [Keras API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/keras_post_training_quantization_experimental.html#ug-keras-post-training-quantization-experimental), [PyTorch API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/pytorch_post_training_quantization_experimental.html#ug-pytorch-post-training-quantization-experimental)
|
|
33
|
+
* Gradient-based post-training quantization (GPTQ): [Keras API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/keras_gradient_post_training_quantization_experimental.html#ug-keras-gradient-post-training-quantization-experimental), [PyTorch API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/pytorch_gradient_post_training_quantization_experimental.html#ug-pytorch-gradient-post-training-quantization-experimental)
|
|
34
34
|
* Quantization aware training (QAT)[*](#experimental-features)
|
|
35
35
|
|
|
36
36
|
|
|
@@ -87,15 +87,15 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
87
87
|
pip install mct-nightly
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
###
|
|
90
|
+
### Requirements
|
|
91
91
|
|
|
92
|
-
To run MCT, one of the supported frameworks,
|
|
92
|
+
To run MCT, one of the supported frameworks, Tensorflow/Pytorch, needs to be installed.
|
|
93
93
|
|
|
94
|
-
For
|
|
94
|
+
For use with Tensorflow please install the packages:
|
|
95
95
|
[tensorflow](https://www.tensorflow.org/install),
|
|
96
96
|
[tensorflow-model-optimization](https://www.tensorflow.org/model_optimization/guide/install)
|
|
97
97
|
|
|
98
|
-
For
|
|
98
|
+
For use with PyTorch please install the packages:
|
|
99
99
|
[torch](https://pytorch.org/)
|
|
100
100
|
|
|
101
101
|
Also, a [requirements](requirements.txt) file can be used to set up your environment.
|
|
@@ -107,12 +107,12 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
| Python Version
|
|
111
|
-
|
|
112
|
-
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python310.yml) |
|
|
113
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python39.yml) |
|
|
114
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python38.yml) |
|
|
115
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python37.yml) |
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
### Supported NN-Frameworks Versions
|
|
@@ -122,9 +122,9 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
122
122
|
|
|
123
123
|
| TensorFlow Version | PyTorch Version |
|
|
124
124
|
|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
|
|
125
|
-
|  |  |
|
|
126
|
+
|  |  |
|
|
127
|
+
|  |  |
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
### Usage Example
|
|
@@ -23,8 +23,8 @@ MCT is developed by researchers and engineers working at Sony Semiconductor Isra
|
|
|
23
23
|
## Supported Features
|
|
24
24
|
|
|
25
25
|
MCT supports different quantization methods:
|
|
26
|
-
* Post
|
|
27
|
-
* Gradient-based post
|
|
26
|
+
* Post-training quantization (PTQ): [Keras API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/keras_post_training_quantization_experimental.html#ug-keras-post-training-quantization-experimental), [PyTorch API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/pytorch_post_training_quantization_experimental.html#ug-pytorch-post-training-quantization-experimental)
|
|
27
|
+
* Gradient-based post-training quantization (GPTQ): [Keras API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/keras_gradient_post_training_quantization_experimental.html#ug-keras-gradient-post-training-quantization-experimental), [PyTorch API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/pytorch_gradient_post_training_quantization_experimental.html#ug-pytorch-gradient-post-training-quantization-experimental)
|
|
28
28
|
* Quantization aware training (QAT)[*](#experimental-features)
|
|
29
29
|
|
|
30
30
|
|
|
@@ -81,15 +81,15 @@ A nightly package is also available (unstable):
|
|
|
81
81
|
pip install mct-nightly
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
###
|
|
84
|
+
### Requirements
|
|
85
85
|
|
|
86
|
-
To run MCT, one of the supported frameworks,
|
|
86
|
+
To run MCT, one of the supported frameworks, Tensorflow/Pytorch, needs to be installed.
|
|
87
87
|
|
|
88
|
-
For
|
|
88
|
+
For use with Tensorflow please install the packages:
|
|
89
89
|
[tensorflow](https://www.tensorflow.org/install),
|
|
90
90
|
[tensorflow-model-optimization](https://www.tensorflow.org/model_optimization/guide/install)
|
|
91
91
|
|
|
92
|
-
For
|
|
92
|
+
For use with PyTorch please install the packages:
|
|
93
93
|
[torch](https://pytorch.org/)
|
|
94
94
|
|
|
95
95
|
Also, a [requirements](requirements.txt) file can be used to set up your environment.
|
|
@@ -101,12 +101,12 @@ Currently, MCT is being tested on various Python versions:
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
| Python Version
|
|
105
|
-
|
|
106
|
-
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python310.yml) |
|
|
107
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python39.yml) |
|
|
108
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python38.yml) |
|
|
109
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python37.yml) |
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
### Supported NN-Frameworks Versions
|
|
@@ -116,9 +116,9 @@ is tested on various versions:
|
|
|
116
116
|
|
|
117
117
|
| TensorFlow Version | PyTorch Version |
|
|
118
118
|
|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
|
|
119
|
-
|  |  |
|
|
120
|
+
|  |  |
|
|
121
|
+
|  |  |
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
### Usage Example
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mct-nightly
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0.1042023.post423
|
|
4
4
|
Summary: A Model Compression Toolkit for neural networks
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
License: UNKNOWN
|
|
@@ -29,8 +29,8 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
29
29
|
## Supported Features
|
|
30
30
|
|
|
31
31
|
MCT supports different quantization methods:
|
|
32
|
-
* Post
|
|
33
|
-
* Gradient-based post
|
|
32
|
+
* Post-training quantization (PTQ): [Keras API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/keras_post_training_quantization_experimental.html#ug-keras-post-training-quantization-experimental), [PyTorch API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/pytorch_post_training_quantization_experimental.html#ug-pytorch-post-training-quantization-experimental)
|
|
33
|
+
* Gradient-based post-training quantization (GPTQ): [Keras API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/keras_gradient_post_training_quantization_experimental.html#ug-keras-gradient-post-training-quantization-experimental), [PyTorch API](https://sony.github.io/model_optimization/docs/api/experimental_api_docs/methods/pytorch_gradient_post_training_quantization_experimental.html#ug-pytorch-gradient-post-training-quantization-experimental)
|
|
34
34
|
* Quantization aware training (QAT)[*](#experimental-features)
|
|
35
35
|
|
|
36
36
|
|
|
@@ -87,15 +87,15 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
87
87
|
pip install mct-nightly
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
###
|
|
90
|
+
### Requirements
|
|
91
91
|
|
|
92
|
-
To run MCT, one of the supported frameworks,
|
|
92
|
+
To run MCT, one of the supported frameworks, Tensorflow/Pytorch, needs to be installed.
|
|
93
93
|
|
|
94
|
-
For
|
|
94
|
+
For use with Tensorflow please install the packages:
|
|
95
95
|
[tensorflow](https://www.tensorflow.org/install),
|
|
96
96
|
[tensorflow-model-optimization](https://www.tensorflow.org/model_optimization/guide/install)
|
|
97
97
|
|
|
98
|
-
For
|
|
98
|
+
For use with PyTorch please install the packages:
|
|
99
99
|
[torch](https://pytorch.org/)
|
|
100
100
|
|
|
101
101
|
Also, a [requirements](requirements.txt) file can be used to set up your environment.
|
|
@@ -107,12 +107,12 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
| Python Version
|
|
111
|
-
|
|
112
|
-
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python310.yml) |
|
|
113
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python39.yml) |
|
|
114
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python38.yml) |
|
|
115
|
+
| [](https://github.com/sony/model_optimization/actions/workflows/run_tests_suite_python37.yml) |
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
### Supported NN-Frameworks Versions
|
|
@@ -122,9 +122,9 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
122
122
|
|
|
123
123
|
| TensorFlow Version | PyTorch Version |
|
|
124
124
|
|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
|
|
125
|
-
|  |  |
|
|
126
|
+
|  |  |
|
|
127
|
+
|  |  |
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
### Usage Example
|
|
@@ -288,6 +288,13 @@ model_compression_toolkit/core/tpc_models/default_tpc/v5/__init__.py
|
|
|
288
288
|
model_compression_toolkit/core/tpc_models/default_tpc/v5/tp_model.py
|
|
289
289
|
model_compression_toolkit/core/tpc_models/default_tpc/v5/tpc_keras.py
|
|
290
290
|
model_compression_toolkit/core/tpc_models/default_tpc/v5/tpc_pytorch.py
|
|
291
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/__init__.py
|
|
292
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/target_platform_capabilities.py
|
|
293
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/latest/__init__.py
|
|
294
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/v1/__init__.py
|
|
295
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/v1/tp_model.py
|
|
296
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/v1/tpc_keras.py
|
|
297
|
+
model_compression_toolkit/core/tpc_models/imx500_tpc/v1/tpc_pytorch.py
|
|
291
298
|
model_compression_toolkit/core/tpc_models/qnnpack_tpc/__init__.py
|
|
292
299
|
model_compression_toolkit/core/tpc_models/qnnpack_tpc/target_platform_capabilities.py
|
|
293
300
|
model_compression_toolkit/core/tpc_models/qnnpack_tpc/latest/__init__.py
|
|
@@ -317,35 +324,21 @@ model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_torchscri
|
|
|
317
324
|
model_compression_toolkit/exporter/model_exporter/pytorch/pytorch_export_facade.py
|
|
318
325
|
model_compression_toolkit/exporter/model_exporter/tflite/__init__.py
|
|
319
326
|
model_compression_toolkit/exporter/model_exporter/tflite/fakely_quant_tflite_exporter.py
|
|
327
|
+
model_compression_toolkit/exporter/model_exporter/tflite/int8_tflite_exporter.py
|
|
320
328
|
model_compression_toolkit/exporter/model_exporter/tflite/tflite_export_facade.py
|
|
321
329
|
model_compression_toolkit/exporter/model_wrapper/__init__.py
|
|
322
330
|
model_compression_toolkit/exporter/model_wrapper/keras/__init__.py
|
|
323
|
-
model_compression_toolkit/exporter/model_wrapper/keras/extended_quantize_wrapper.py
|
|
324
331
|
model_compression_toolkit/exporter/model_wrapper/keras/validate_layer.py
|
|
325
332
|
model_compression_toolkit/exporter/model_wrapper/keras/builder/__init__.py
|
|
326
333
|
model_compression_toolkit/exporter/model_wrapper/keras/builder/fully_quantized_model_builder.py
|
|
327
|
-
model_compression_toolkit/exporter/model_wrapper/keras/builder/
|
|
328
|
-
model_compression_toolkit/exporter/model_wrapper/keras/builder/
|
|
329
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/__init__.py
|
|
330
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/activation_quantize_config.py
|
|
331
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/weights_activation_quantize_config.py
|
|
332
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantize_configs/weights_quantize_config.py
|
|
333
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantizers/__init__.py
|
|
334
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantizers/fq_quantizer.py
|
|
335
|
-
model_compression_toolkit/exporter/model_wrapper/keras/quantizers/weights_uniform_quantizer.py
|
|
334
|
+
model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizer.py
|
|
335
|
+
model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizers.py
|
|
336
336
|
model_compression_toolkit/exporter/model_wrapper/pytorch/__init__.py
|
|
337
|
+
model_compression_toolkit/exporter/model_wrapper/pytorch/validate_layer.py
|
|
337
338
|
model_compression_toolkit/exporter/model_wrapper/pytorch/builder/__init__.py
|
|
338
339
|
model_compression_toolkit/exporter/model_wrapper/pytorch/builder/fully_quantized_model_builder.py
|
|
339
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantize_config.py
|
|
340
340
|
model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizer.py
|
|
341
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/
|
|
342
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/quantizers/fq_quantizer.py
|
|
343
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/quantizers/uniform_weights_quantizer.py
|
|
344
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/__init__.py
|
|
345
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/activation_quantize_config.py
|
|
346
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/no_quantization_quantize_config.py
|
|
347
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/weights_activation_quantize_config.py
|
|
348
|
-
model_compression_toolkit/exporter/model_wrapper/pytorch/wrappers_quantize_configs/weights_quantize_config.py
|
|
341
|
+
model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizers.py
|
|
349
342
|
model_compression_toolkit/gptq/__init__.py
|
|
350
343
|
model_compression_toolkit/gptq/runner.py
|
|
351
344
|
model_compression_toolkit/gptq/common/__init__.py
|
|
@@ -355,43 +348,35 @@ model_compression_toolkit/gptq/common/gptq_graph.py
|
|
|
355
348
|
model_compression_toolkit/gptq/common/gptq_training.py
|
|
356
349
|
model_compression_toolkit/gptq/keras/__init__.py
|
|
357
350
|
model_compression_toolkit/gptq/keras/gptq_loss.py
|
|
358
|
-
model_compression_toolkit/gptq/keras/gptq_model_builder.py
|
|
359
351
|
model_compression_toolkit/gptq/keras/gptq_training.py
|
|
360
352
|
model_compression_toolkit/gptq/keras/graph_info.py
|
|
361
353
|
model_compression_toolkit/gptq/keras/quantization_facade.py
|
|
362
|
-
model_compression_toolkit/gptq/keras/optimizers/__init__.py
|
|
363
|
-
model_compression_toolkit/gptq/keras/optimizers/sam_optimizer.py
|
|
364
354
|
model_compression_toolkit/gptq/keras/quantizer/__init__.py
|
|
365
|
-
model_compression_toolkit/gptq/keras/quantizer/
|
|
366
|
-
model_compression_toolkit/gptq/keras/quantizer/kernel_functions.py
|
|
355
|
+
model_compression_toolkit/gptq/keras/quantizer/base_keras_gptq_quantizer.py
|
|
367
356
|
model_compression_toolkit/gptq/keras/quantizer/quant_utils.py
|
|
368
|
-
model_compression_toolkit/gptq/keras/quantizer/
|
|
369
|
-
model_compression_toolkit/gptq/keras/quantizer/
|
|
370
|
-
model_compression_toolkit/gptq/keras/quantizer/
|
|
371
|
-
model_compression_toolkit/gptq/keras/quantizer/
|
|
372
|
-
model_compression_toolkit/gptq/keras/quantizer/
|
|
373
|
-
model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/gumbel_softmax.py
|
|
374
|
-
model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/symmetric_gumbel.py
|
|
375
|
-
model_compression_toolkit/gptq/keras/quantizer/gumbel_rounding/uniform_gumbel.py
|
|
357
|
+
model_compression_toolkit/gptq/keras/quantizer/quantization_builder.py
|
|
358
|
+
model_compression_toolkit/gptq/keras/quantizer/regularization_factory.py
|
|
359
|
+
model_compression_toolkit/gptq/keras/quantizer/soft_rounding/__init__.py
|
|
360
|
+
model_compression_toolkit/gptq/keras/quantizer/soft_rounding/soft_quantizer_reg.py
|
|
361
|
+
model_compression_toolkit/gptq/keras/quantizer/soft_rounding/symmetric_soft_quantizer.py
|
|
376
362
|
model_compression_toolkit/gptq/keras/quantizer/ste_rounding/__init__.py
|
|
377
363
|
model_compression_toolkit/gptq/keras/quantizer/ste_rounding/symmetric_ste.py
|
|
378
|
-
model_compression_toolkit/gptq/keras/quantizer/ste_rounding/uniform_ste.py
|
|
379
364
|
model_compression_toolkit/gptq/pytorch/__init__.py
|
|
380
|
-
model_compression_toolkit/gptq/pytorch/gptq_graph_info.py
|
|
381
365
|
model_compression_toolkit/gptq/pytorch/gptq_loss.py
|
|
382
|
-
model_compression_toolkit/gptq/pytorch/gptq_model_builder.py
|
|
383
366
|
model_compression_toolkit/gptq/pytorch/gptq_training.py
|
|
367
|
+
model_compression_toolkit/gptq/pytorch/graph_info.py
|
|
384
368
|
model_compression_toolkit/gptq/pytorch/quantization_facade.py
|
|
385
369
|
model_compression_toolkit/gptq/pytorch/quantizer/__init__.py
|
|
386
|
-
model_compression_toolkit/gptq/pytorch/quantizer/
|
|
370
|
+
model_compression_toolkit/gptq/pytorch/quantizer/base_pytorch_gptq_quantizer.py
|
|
387
371
|
model_compression_toolkit/gptq/pytorch/quantizer/quant_utils.py
|
|
388
|
-
model_compression_toolkit/gptq/pytorch/quantizer/
|
|
389
|
-
model_compression_toolkit/gptq/pytorch/quantizer/
|
|
390
|
-
model_compression_toolkit/gptq/pytorch/quantizer/
|
|
391
|
-
model_compression_toolkit/gptq/pytorch/quantizer/
|
|
392
|
-
model_compression_toolkit/gptq/pytorch/quantizer/
|
|
372
|
+
model_compression_toolkit/gptq/pytorch/quantizer/quantization_builder.py
|
|
373
|
+
model_compression_toolkit/gptq/pytorch/quantizer/regularization_factory.py
|
|
374
|
+
model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/__init__.py
|
|
375
|
+
model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/soft_quantizer_reg.py
|
|
376
|
+
model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/symmetric_soft_quantizer.py
|
|
377
|
+
model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/uniform_soft_quantizer.py
|
|
393
378
|
model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/__init__.py
|
|
394
|
-
model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/
|
|
379
|
+
model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/symmetric_ste.py
|
|
395
380
|
model_compression_toolkit/ptq/__init__.py
|
|
396
381
|
model_compression_toolkit/ptq/runner.py
|
|
397
382
|
model_compression_toolkit/ptq/keras/__init__.py
|
|
@@ -401,24 +386,82 @@ model_compression_toolkit/ptq/pytorch/quantization_facade.py
|
|
|
401
386
|
model_compression_toolkit/qat/__init__.py
|
|
402
387
|
model_compression_toolkit/qat/common/__init__.py
|
|
403
388
|
model_compression_toolkit/qat/common/constants.py
|
|
389
|
+
model_compression_toolkit/qat/common/qat_config.py
|
|
404
390
|
model_compression_toolkit/qat/keras/__init__.py
|
|
405
|
-
model_compression_toolkit/qat/keras/qat_model_builder.py
|
|
406
391
|
model_compression_toolkit/qat/keras/quantization_facade.py
|
|
407
392
|
model_compression_toolkit/qat/keras/quantizer/__init__.py
|
|
408
|
-
model_compression_toolkit/qat/keras/quantizer/
|
|
393
|
+
model_compression_toolkit/qat/keras/quantizer/base_keras_qat_quantizer.py
|
|
394
|
+
model_compression_toolkit/qat/keras/quantizer/quant_utils.py
|
|
395
|
+
model_compression_toolkit/qat/keras/quantizer/quantization_builder.py
|
|
409
396
|
model_compression_toolkit/qat/keras/quantizer/ste_rounding/__init__.py
|
|
410
|
-
model_compression_toolkit/qat/keras/quantizer/ste_rounding/
|
|
397
|
+
model_compression_toolkit/qat/keras/quantizer/ste_rounding/symmetric_ste.py
|
|
411
398
|
model_compression_toolkit/qat/keras/quantizer/ste_rounding/uniform_ste.py
|
|
412
399
|
model_compression_toolkit/qat/pytorch/__init__.py
|
|
413
400
|
model_compression_toolkit/qat/pytorch/quantization_facade.py
|
|
414
|
-
model_compression_toolkit/
|
|
415
|
-
model_compression_toolkit/
|
|
416
|
-
model_compression_toolkit/
|
|
417
|
-
model_compression_toolkit/
|
|
418
|
-
model_compression_toolkit/
|
|
419
|
-
model_compression_toolkit/
|
|
420
|
-
model_compression_toolkit/
|
|
421
|
-
model_compression_toolkit/
|
|
422
|
-
model_compression_toolkit/
|
|
423
|
-
model_compression_toolkit/
|
|
424
|
-
model_compression_toolkit/
|
|
401
|
+
model_compression_toolkit/qat/pytorch/quantizer/__init__.py
|
|
402
|
+
model_compression_toolkit/qat/pytorch/quantizer/base_pytorch_qat_quantizer.py
|
|
403
|
+
model_compression_toolkit/qat/pytorch/quantizer/quantization_builder.py
|
|
404
|
+
model_compression_toolkit/qat/pytorch/quantizer/quantizer_utils.py
|
|
405
|
+
model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/__init__.py
|
|
406
|
+
model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/symmetric_ste.py
|
|
407
|
+
model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/uniform_ste.py
|
|
408
|
+
model_compression_toolkit/quantizers_infrastructure/__init__.py
|
|
409
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/__init__.py
|
|
410
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/__init__.py
|
|
411
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/base_inferable_quantizer.py
|
|
412
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/constants.py
|
|
413
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/get_all_subclasses.py
|
|
414
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/get_quantizers.py
|
|
415
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/common/quant_utils.py
|
|
416
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/__init__.py
|
|
417
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/load_model.py
|
|
418
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantize_wrapper.py
|
|
419
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizer_utils.py
|
|
420
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/validation_functions.py
|
|
421
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/__init__.py
|
|
422
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/base_keras_inferable_quantizer.py
|
|
423
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/constants.py
|
|
424
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/__init__.py
|
|
425
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_lut_pot_inferable_quantizer.py
|
|
426
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_pot_inferable_quantizer.py
|
|
427
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_symmetric_inferable_quantizer.py
|
|
428
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/activation_inferable_quantizers/activation_uniform_inferable_quantizer.py
|
|
429
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/__init__.py
|
|
430
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_lut_pot_inferable_quantizer.py
|
|
431
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_lut_symmetric_inferable_quantizer.py
|
|
432
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_pot_inferable_quantizer.py
|
|
433
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_symmetric_inferable_quantizer.py
|
|
434
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/keras/quantizers/weights_inferable_quantizers/weights_uniform_inferable_quantizer.py
|
|
435
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/__init__.py
|
|
436
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantize_wrapper.py
|
|
437
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizer_utils.py
|
|
438
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/__init__.py
|
|
439
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_lut_symmetric_inferable_quantizer.py
|
|
440
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_pytorch_inferable_quantizer.py
|
|
441
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_symmetric_inferable_quantizer.py
|
|
442
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/base_uniform_inferable_quantizer.py
|
|
443
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/constants.py
|
|
444
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/__init__.py
|
|
445
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_lut_pot_inferable_quantizer.py
|
|
446
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_pot_inferable_quantizer.py
|
|
447
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_symmetric_inferable_quantizer.py
|
|
448
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/activation_inferable_quantizers/activation_uniform_inferable_quantizer.py
|
|
449
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/__init__.py
|
|
450
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_lut_pot_inferable_quantizer.py
|
|
451
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_lut_symmetric_inferable_quantizer.py
|
|
452
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_pot_inferable_quantizer.py
|
|
453
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_symmetric_inferable_quantizer.py
|
|
454
|
+
model_compression_toolkit/quantizers_infrastructure/inferable_infrastructure/pytorch/quantizers/weights_inferable_quantizers/weights_uniform_inferable_quantizer.py
|
|
455
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/__init__.py
|
|
456
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/__init__.py
|
|
457
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/base_trainable_quantizer.py
|
|
458
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/get_quantizer_config.py
|
|
459
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/get_quantizers.py
|
|
460
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/quant_utils.py
|
|
461
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/common/trainable_quantizer_config.py
|
|
462
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/__init__.py
|
|
463
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/base_keras_quantizer.py
|
|
464
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/config_serialization.py
|
|
465
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/keras/quantizer_utils.py
|
|
466
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/pytorch/__init__.py
|
|
467
|
+
model_compression_toolkit/quantizers_infrastructure/trainable_infrastructure/pytorch/base_pytorch_quantizer.py
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
# ==============================================================================
|
|
15
15
|
|
|
16
16
|
from model_compression_toolkit.core.common.quantization.debug_config import DebugConfig
|
|
17
|
-
from model_compression_toolkit.gptq.common.gptq_config import GradientPTQConfig, RoundingType, GumbelConfig, \
|
|
18
|
-
GradientPTQConfigV2
|
|
19
17
|
from model_compression_toolkit.core.common.quantization import quantization_config
|
|
20
18
|
from model_compression_toolkit.core.common.mixed_precision import mixed_precision_quantization_config
|
|
21
19
|
from model_compression_toolkit.core.common.quantization.quantization_config import QuantizationConfig, \
|
|
@@ -26,6 +24,7 @@ from model_compression_toolkit.core.tpc_models.get_target_platform_capabilities
|
|
|
26
24
|
from model_compression_toolkit.core.common.mixed_precision.kpi_tools.kpi import KPI
|
|
27
25
|
from model_compression_toolkit.core.common.mixed_precision.mixed_precision_quantization_config import \
|
|
28
26
|
MixedPrecisionQuantizationConfig, MixedPrecisionQuantizationConfigV2
|
|
27
|
+
from model_compression_toolkit.qat.common.qat_config import QATConfig, TrainingMethod
|
|
29
28
|
from model_compression_toolkit.core.common.logger import set_log_folder
|
|
30
29
|
from model_compression_toolkit.core.common.data_loader import FolderImageLoader
|
|
31
30
|
from model_compression_toolkit.core.common.framework_info import FrameworkInfo, ChannelAxis
|
|
@@ -35,21 +34,21 @@ from model_compression_toolkit.core.common import network_editors as network_edi
|
|
|
35
34
|
from model_compression_toolkit.core.keras.quantization_facade import keras_post_training_quantization, \
|
|
36
35
|
keras_post_training_quantization_mixed_precision
|
|
37
36
|
from model_compression_toolkit.ptq.keras.quantization_facade import keras_post_training_quantization_experimental
|
|
38
|
-
from model_compression_toolkit.
|
|
39
|
-
|
|
40
|
-
from model_compression_toolkit.
|
|
41
|
-
from model_compression_toolkit.qat.keras.quantization_facade import keras_quantization_aware_training_init, \
|
|
42
|
-
keras_quantization_aware_training_finalize
|
|
43
|
-
from model_compression_toolkit.core.pytorch.quantization_facade import pytorch_post_training_quantization, \
|
|
44
|
-
pytorch_post_training_quantization_mixed_precision
|
|
37
|
+
from model_compression_toolkit.qat.keras.quantization_facade import keras_quantization_aware_training_init, keras_quantization_aware_training_finalize
|
|
38
|
+
from model_compression_toolkit.qat.pytorch.quantization_facade import pytorch_quantization_aware_training_init, pytorch_quantization_aware_training_finalize
|
|
39
|
+
from model_compression_toolkit.core.pytorch.quantization_facade import pytorch_post_training_quantization, pytorch_post_training_quantization_mixed_precision
|
|
45
40
|
from model_compression_toolkit.ptq.pytorch.quantization_facade import pytorch_post_training_quantization_experimental
|
|
46
|
-
from model_compression_toolkit.gptq.pytorch.quantization_facade import \
|
|
47
|
-
pytorch_gradient_post_training_quantization_experimental
|
|
48
|
-
from model_compression_toolkit.gptq.pytorch.quantization_facade import get_pytorch_gptq_config
|
|
49
41
|
|
|
50
42
|
from model_compression_toolkit.core.keras.kpi_data_facade import keras_kpi_data, keras_kpi_data_experimental
|
|
51
43
|
from model_compression_toolkit.core.pytorch.kpi_data_facade import pytorch_kpi_data, pytorch_kpi_data_experimental
|
|
52
44
|
|
|
53
|
-
from model_compression_toolkit.
|
|
45
|
+
from model_compression_toolkit.quantizers_infrastructure.inferable_infrastructure.keras.load_model import keras_load_quantized_model
|
|
54
46
|
|
|
55
|
-
|
|
47
|
+
|
|
48
|
+
from model_compression_toolkit import exporter
|
|
49
|
+
|
|
50
|
+
from model_compression_toolkit import gptq
|
|
51
|
+
from model_compression_toolkit.gptq import GradientPTQConfig
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
__version__ = "1.8.0"
|
|
@@ -51,4 +51,4 @@ class BaseModelBuilder(ABC):
|
|
|
51
51
|
Returns: A framework's model built from its graph.
|
|
52
52
|
|
|
53
53
|
"""
|
|
54
|
-
raise NotImplemented(f'{self.__class__.__name__} have to implement build_model method.')
|
|
54
|
+
raise NotImplemented(f'{self.__class__.__name__} have to implement build_model method.') # pragma: no cover
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
# ==============================================================================
|
|
15
15
|
|
|
16
16
|
import numpy as np
|
|
17
|
+
from model_compression_toolkit.core.common.logger import Logger
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
class BaseCollector(object):
|
|
@@ -33,7 +34,8 @@ class BaseCollector(object):
|
|
|
33
34
|
|
|
34
35
|
"""
|
|
35
36
|
|
|
36
|
-
raise
|
|
37
|
+
raise NotImplemented(
|
|
38
|
+
f'{self.__class__.__name__} needs to implement scale operation for its state.') # pragma: no cover
|
|
37
39
|
|
|
38
40
|
def shift(self, shift_value: np.ndarray):
|
|
39
41
|
"""
|
|
@@ -43,7 +45,8 @@ class BaseCollector(object):
|
|
|
43
45
|
|
|
44
46
|
"""
|
|
45
47
|
|
|
46
|
-
raise
|
|
48
|
+
raise NotImplemented(
|
|
49
|
+
f'{self.__class__.__name__} needs to implement shift operation for its state.') # pragma: no cover
|
|
47
50
|
|
|
48
51
|
def update_legal_status(self, is_illegal: bool):
|
|
49
52
|
"""
|
|
@@ -63,5 +66,5 @@ class BaseCollector(object):
|
|
|
63
66
|
"""
|
|
64
67
|
|
|
65
68
|
if not self.is_legal:
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
Logger.exception(f'{self.__class__.__name__} was manipulated per-channel,'
|
|
70
|
+
'but collected per-tensor. Data is invalid.') # pragma: no cover
|
|
@@ -37,7 +37,7 @@ class BaseStatsCollector(object):
|
|
|
37
37
|
Returns whether this tensor requires statistics collection or not.
|
|
38
38
|
Should be implemented in extending classes.
|
|
39
39
|
"""
|
|
40
|
-
raise
|
|
40
|
+
raise NotImplemented(f'require_collection is not implemented in {self.__class__.__name__}') # pragma: no cover
|
|
41
41
|
|
|
42
42
|
def update_statistics(self,
|
|
43
43
|
x: Any):
|
|
@@ -47,7 +47,7 @@ class BaseStatsCollector(object):
|
|
|
47
47
|
Args:
|
|
48
48
|
x: Tensor.
|
|
49
49
|
"""
|
|
50
|
-
raise
|
|
50
|
+
raise NotImplemented(f'update_statistics is not implemented in {self.__class__.__name__}') # pragma: no cover
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
class StatsCollector(BaseStatsCollector):
|
|
@@ -21,10 +21,11 @@ FOUND_TF = importlib.util.find_spec(TENSORFLOW) is not None and importlib.util.f
|
|
|
21
21
|
"tensorflow_model_optimization") is not None
|
|
22
22
|
FOUND_TORCH = importlib.util.find_spec("torch") is not None
|
|
23
23
|
FOUND_ONNX = importlib.util.find_spec("onnx") is not None
|
|
24
|
+
FOUND_ONNXRUNTIME = importlib.util.find_spec("onnxruntime") is not None
|
|
24
25
|
|
|
25
26
|
WEIGHTS_SIGNED = True
|
|
26
27
|
# Minimal threshold to use for quantization ranges:
|
|
27
|
-
MIN_THRESHOLD = (2 ** -
|
|
28
|
+
MIN_THRESHOLD = (2 ** -16)
|
|
28
29
|
EPS = 1e-8
|
|
29
30
|
MULTIPLIER_N_BITS = 8
|
|
30
31
|
|
|
@@ -114,12 +115,16 @@ ACTIVATION_QUANT_PARAMS_FN = 'activation_quantization_params_fn'
|
|
|
114
115
|
WEIGHTS_QUANT_PARAMS_FN = 'weights_quantization_params_fn'
|
|
115
116
|
WEIGHTS_CHANNELS_AXIS = 'weights_channels_axis'
|
|
116
117
|
|
|
117
|
-
# GPTQ Parameters
|
|
118
|
-
GUMBEL_MAX_ITER = 10000
|
|
119
|
-
|
|
120
118
|
# Memory graph constants
|
|
121
119
|
DUMMY_NODE = 'dummy_node'
|
|
122
120
|
DUMMY_TENSOR = 'dummy_tensor'
|
|
123
121
|
|
|
124
122
|
# TP Model constants
|
|
125
123
|
OPS_SET_LIST = 'ops_set_list'
|
|
124
|
+
|
|
125
|
+
# TF Input node base name
|
|
126
|
+
INPUT_BASE_NAME = 'base_input'
|
|
127
|
+
|
|
128
|
+
# Jacobian-weights constants
|
|
129
|
+
MIN_JACOBIANS_ITER = 10
|
|
130
|
+
JACOBIANS_COMP_TOLERANCE = 1e-3
|