mct-nightly 1.10.0.20231130.post426__tar.gz → 1.10.0.20231201.post429__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.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/PKG-INFO +1 -1
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/mct_nightly.egg-info/PKG-INFO +1 -1
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/mct_nightly.egg-info/SOURCES.txt +1 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/graph_prep_runner.py +19 -14
- mct-nightly-1.10.0.20231201.post429/model_compression_toolkit/core/quantization_prep_runner.py +134 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/runner.py +8 -131
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/setup.cfg +1 -1
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/LICENSE.md +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/README.md +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/mct_nightly.egg-info/dependency_links.txt +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/mct_nightly.egg-info/requires.txt +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/mct_nightly.egg-info/top_level.txt +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/analyzer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/back2framework/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/back2framework/base_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/base_substitutions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/base_collector.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/histogram_collector.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/mean_collector.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/min_max_per_channel_collector.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/statistics_collector.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/collectors/statistics_collector_generator.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/data_loader.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/defaultdict.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/framework_implementation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/framework_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/fusion/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/fusion/layer_fusing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/base_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/base_node.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/edge.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/functional_node.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/graph_matchers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/graph_searches.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/bipartite_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/compute_graph_max_cut.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/cut.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/max_cut_astar.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/memory_element.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/memory_graph/memory_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/graph/virtual_activation_weights_node.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/hessian/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/hessian/hessian_info_service.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/hessian/hessian_info_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/hessian/trace_hessian_calculator.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/hessian/trace_hessian_request.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/base_graph_filter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/base_matcher.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/edge_matcher.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/function.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/node_matcher.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/matchers/walk_matcher.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/memory_computation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/bit_width_setter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/configurable_quant_id.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/configurable_quantizer_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/distance_weighting.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_aggregation_methods.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_data.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_functions_mapping.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_methods.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_quantization_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_search_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_search_manager.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/search_methods/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/search_methods/linear_programming.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/sensitivity_evaluation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/set_layer_to_bitwidth.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/mixed_precision/solution_refinement_procedure.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/model_builder_mode.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/model_collector.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/model_validation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/network_editors/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/network_editors/actions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/network_editors/edit_network.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/network_editors/node_filters.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/node_prior_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/candidate_node_quantization_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/core_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/debug_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/filter_nodes_candidates.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/node_quantization_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_analyzer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_fn_selection.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_fn_selection.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/error_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/kmeans_params.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/lut_kmeans_params.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/outlier_filter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/power_of_two_selection.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_activations_computation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_computation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_search.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_weights_computation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/symmetric_selection.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantization_params_generation/uniform_selection.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantize_graph_weights.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantize_node.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantizers/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantizers/kmeans_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantizers/lut_kmeans_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantizers/quantizers_helpers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/quantizers/uniform_quantizers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/quantization/set_node_quantization_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/similarity_analyzer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/statistics_correction/apply_bias_correction_to_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/statistics_correction/apply_second_moment_correction_to_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/statistics_correction/compute_bias_correction_of_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/statistics_correction/statistics_correction.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/apply_substitutions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/linear_collapsing_substitution.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/user_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/visualization/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/visualization/final_config_visualizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/visualization/nn_visualizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/common/visualization/tensorboard_writer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/factory_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/float_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/instance_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/keras_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/mixed_precision_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/back2framework/quantized_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/custom_layer_validation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/default_framework_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/activation_decomposition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/dwconv_to_conv.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/input_scaling.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/multi_head_attention_decomposition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/relu_bound_to_power_of_2.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/remove_relu_upper_bound.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/separableconv_decomposition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/hessian/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/hessian/activation_trace_hessian_calculator_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/hessian/trace_hessian_calculator_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/hessian/weights_trace_hessian_calculator_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/keras_implementation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/keras_model_validation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/keras_node_prior_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/kpi_data_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/mixed_precision/configurable_activation_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/mixed_precision/configurable_weights_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/quantizer/base_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/quantizer/fake_quant_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/quantizer/lut_fake_quant.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/common.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/connectivity_handler.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/nested_model/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/nested_model/edges_merger.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/nested_model/nested_model_handler.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/nested_model/nodes_merger.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/nested_model/outputs_merger.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/node_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/reader/reader.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/statistics_correction/apply_second_moment_correction.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/tf_tensor_numpy.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/keras/visualization/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/factory_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/float_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/instance_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/mixed_precision_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/pytorch_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/quantized_layer_wrapper.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/wrapper_quantize_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/back2framework/quantized_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/default_framework_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/const_holder_conv.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/multi_head_attention_decomposition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/permute_call_method.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/relu_bound_to_power_of_2.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/reshape_with_static_shapes.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/hessian/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/hessian/activation_trace_hessian_calculator_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/hessian/trace_hessian_calculator_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/hessian/weights_trace_hessian_calculator_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/kpi_data_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/mixed_precision/configurable_activation_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/mixed_precision/configurable_weights_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/pytorch_implementation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/pytorch_node_prior_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/quantizer/fake_quant_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/quantizer/lut_fake_quant.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/reader/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/reader/graph_builders.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/reader/node_holders.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/reader/reader.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/statistics_correction/apply_second_moment_correction.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/core/pytorch/utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/data_generation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/data_generation_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/enums.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/image_pipeline.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/model_info_exctractors.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/common/optimization_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/image_pipeline.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/keras_data_generation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/model_info_exctractors.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_functions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_functions/batchnorm_alignment_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_functions/bn_layer_weighting_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_functions/image_initilization.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_functions/output_loss_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_functions/scheduler_step_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/keras/optimization_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/image_pipeline.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/model_info_exctractors.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_functions/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_functions/batchnorm_alignment_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_functions/bn_layer_weighting_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_functions/image_initilization.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_functions/output_loss_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_functions/scheduler_step_functions.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/optimization_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/data_generation/pytorch/pytorch_data_generation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/fw_agonstic/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/fw_agonstic/exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/base_keras_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/export_serialization_format.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/fakely_quant_keras_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/fakely_quant_tflite_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/int8_tflite_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/keras/keras_export_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/pytorch/base_pytorch_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/pytorch/export_serialization_format.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_onnx_pytorch_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_torchscript_pytorch_exporter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_exporter/pytorch/pytorch_export_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/keras/builder/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/keras/builder/fully_quantized_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/keras/validate_layer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/fully_quantized_model_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/exporter/model_wrapper/pytorch/validate_layer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/common/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/common/gptq_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/common/gptq_constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/common/gptq_framework_implementation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/common/gptq_graph.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/common/gptq_training.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/gptq_keras_implementation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/gptq_loss.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/gptq_training.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/graph_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/base_keras_gptq_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/quant_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/regularization_factory.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/soft_quantizer_reg.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/symmetric_soft_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/uniform_soft_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/gptq_loss.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/gptq_pytorch_implementation.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/gptq_training.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/graph_info.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/base_pytorch_gptq_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/quant_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/regularization_factory.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/soft_quantizer_reg.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/symmetric_soft_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/uniform_soft_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/gptq/runner.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/legacy/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/legacy/keras_quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/legacy/pytorch_quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/logger.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/ptq/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/ptq/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/ptq/keras/quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/ptq/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/ptq/pytorch/quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/ptq/runner.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/common/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/common/qat_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/base_keras_qat_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/lsq/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/lsq/symmetric_lsq.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/lsq/uniform_lsq.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/quant_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/keras/quantizer/ste_rounding/uniform_ste.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantization_facade.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/base_pytorch_qat_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/lsq/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/lsq/symmetric_lsq.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/lsq/uniform_lsq.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/quantizer_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/uniform_ste.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/immutable.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/current_tp_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/fusing.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/op_quantization_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/operators.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/quantization_format.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/target_platform_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/target_platform_model_component.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/attribute_filter.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/current_tpc.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/layer_filter_params.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/operations_to_layers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/target_platform_capabilities.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/target_platform_capabilities_component.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/get_target_platform_capabilities.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/tp_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/tpc_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/tpc_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/tp_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/tpc_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/tpc_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/base_trainable_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/constants.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/get_quantizer_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/get_quantizers.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/quant_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/common/trainable_quantizer_config.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/keras/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/keras/base_keras_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/keras/config_serialization.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/keras/load_model.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/keras/quantize_wrapper.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/keras/quantizer_utils.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/pytorch/__init__.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/model_compression_toolkit/trainable_infrastructure/pytorch/base_pytorch_quantizer.py +0 -0
- {mct-nightly-1.10.0.20231130.post426 → mct-nightly-1.10.0.20231201.post429}/setup.py +0 -0
|
@@ -14,6 +14,7 @@ model_compression_toolkit/core/__init__.py
|
|
|
14
14
|
model_compression_toolkit/core/analyzer.py
|
|
15
15
|
model_compression_toolkit/core/exporter.py
|
|
16
16
|
model_compression_toolkit/core/graph_prep_runner.py
|
|
17
|
+
model_compression_toolkit/core/quantization_prep_runner.py
|
|
17
18
|
model_compression_toolkit/core/runner.py
|
|
18
19
|
model_compression_toolkit/core/common/__init__.py
|
|
19
20
|
model_compression_toolkit/core/common/base_substitutions.py
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright 2023 Sony Semiconductor Israel, Inc. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
@@ -41,23 +41,24 @@ def graph_preparation_runner(in_model: Any,
|
|
|
41
41
|
tb_w: TensorboardWriter = None,
|
|
42
42
|
mixed_precision_enable: bool = False) -> Graph:
|
|
43
43
|
"""
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
Runs all required preparations in order to build a quantization graph from the given model,
|
|
45
|
+
quantization configuration and target platform specifications.
|
|
46
|
+
This runner include the following steps:
|
|
47
|
+
- Reading and building a graph from the given model.
|
|
48
|
+
- Setting quantization config to each relevant node in the graph.
|
|
49
|
+
- Apply all necessary substitutions to finalize the graph for quantization.
|
|
50
|
+
|
|
51
51
|
Args:
|
|
52
52
|
in_model: Model to quantize.
|
|
53
53
|
representative_data_gen: Dataset used for calibration.
|
|
54
|
-
|
|
54
|
+
quantization_config: QuantizationConfig containing parameters of how the model should be quantized.
|
|
55
55
|
fw_info: Information needed for quantization about the specific framework (e.g., kernel channels indices,
|
|
56
|
-
|
|
56
|
+
groups of layers by how they should be quantized, etc.).
|
|
57
57
|
fw_impl: FrameworkImplementation object with a specific framework methods implementation.
|
|
58
58
|
tpc: TargetPlatformCapabilities object that models the inference target platform and
|
|
59
|
-
|
|
59
|
+
the attached framework operator's information.
|
|
60
60
|
tb_w: TensorboardWriter object for logging
|
|
61
|
+
|
|
61
62
|
Returns:
|
|
62
63
|
An internal graph representation of the input model.
|
|
63
64
|
"""
|
|
@@ -92,16 +93,18 @@ def get_finalized_graph(initial_graph: Graph,
|
|
|
92
93
|
"""
|
|
93
94
|
Applies all edit operation (edit, substitutions, etc.) on the model's graph, to prepare it for the quantization
|
|
94
95
|
process. All future graph substitutions and operations that change the graph should be added to this method.
|
|
96
|
+
|
|
95
97
|
Args:
|
|
96
98
|
initial_graph (Graph): Graph to apply the changes to.
|
|
97
99
|
tpc (TargetPlatformCapabilities): TargetPlatformCapabilities object that describes the desired inference target platform (includes fusing patterns MCT should handle).
|
|
98
100
|
quant_config (QuantizationConfig): QuantizationConfig containing parameters of how the model should be
|
|
99
|
-
|
|
101
|
+
quantized.
|
|
100
102
|
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g.,
|
|
101
|
-
|
|
103
|
+
kernel channels indices, groups of layers by how they should be quantized, etc.)
|
|
102
104
|
tb_w (TensorboardWriter): TensorboardWriter object to use for logging events such as graphs, histograms, etc.
|
|
103
105
|
fw_impl (FrameworkImplementation): FrameworkImplementation object with a specific framework methods implementation.
|
|
104
|
-
|
|
106
|
+
mixed_precision_enable: is mixed precision enabled.
|
|
107
|
+
|
|
105
108
|
Returns: Graph object that represents the model, after applying all required modifications to it.
|
|
106
109
|
"""
|
|
107
110
|
|
|
@@ -173,6 +176,7 @@ def read_model_to_graph(in_model: Any,
|
|
|
173
176
|
|
|
174
177
|
"""
|
|
175
178
|
Read a model into a graph object.
|
|
179
|
+
|
|
176
180
|
Args:
|
|
177
181
|
in_model: Model to optimize and prepare for quantization.
|
|
178
182
|
representative_data_gen: Dataset used for calibration.
|
|
@@ -181,6 +185,7 @@ def read_model_to_graph(in_model: Any,
|
|
|
181
185
|
fw_info: Information needed for quantization about the specific framework (e.g.,
|
|
182
186
|
kernel channels indices, groups of layers by how they should be quantized, etc.)
|
|
183
187
|
fw_impl: FrameworkImplementation object with a specific framework methods implementation.
|
|
188
|
+
|
|
184
189
|
Returns:
|
|
185
190
|
Graph object that represents the model.
|
|
186
191
|
"""
|
mct-nightly-1.10.0.20231201.post429/model_compression_toolkit/core/quantization_prep_runner.py
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Copyright 2023 Sony Semiconductor Israel, Inc. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
# ==============================================================================
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
from typing import Callable
|
|
18
|
+
|
|
19
|
+
from tqdm import tqdm
|
|
20
|
+
|
|
21
|
+
from model_compression_toolkit.core.common import FrameworkInfo
|
|
22
|
+
from model_compression_toolkit.core.common.framework_implementation import FrameworkImplementation
|
|
23
|
+
from model_compression_toolkit.core.common.graph.base_graph import Graph
|
|
24
|
+
from model_compression_toolkit.core.common.model_collector import ModelCollector
|
|
25
|
+
from model_compression_toolkit.core.common.network_editors.edit_network import edit_network_graph
|
|
26
|
+
from model_compression_toolkit.core.common.quantization.core_config import CoreConfig
|
|
27
|
+
from model_compression_toolkit.core.common.quantization.quantization_analyzer import analyzer_graph
|
|
28
|
+
from model_compression_toolkit.core.common.quantization.quantization_params_generation.qparams_computation import \
|
|
29
|
+
calculate_quantization_params
|
|
30
|
+
from model_compression_toolkit.core.common.statistics_correction.statistics_correction import \
|
|
31
|
+
statistics_correction_runner
|
|
32
|
+
from model_compression_toolkit.core.common.substitutions.apply_substitutions import substitute
|
|
33
|
+
|
|
34
|
+
from model_compression_toolkit.core.common.visualization.tensorboard_writer import TensorboardWriter
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def quantization_preparation_runner(graph: Graph,
|
|
38
|
+
representative_data_gen: Callable,
|
|
39
|
+
core_config: CoreConfig,
|
|
40
|
+
fw_info: FrameworkInfo,
|
|
41
|
+
fw_impl: FrameworkImplementation,
|
|
42
|
+
tb_w: TensorboardWriter = None) -> Graph:
|
|
43
|
+
"""
|
|
44
|
+
Prepares a trained model for post-training quantization.
|
|
45
|
+
First, the model graph is optimized using several transformations (e.g. folding BatchNormalization to preceding layers).
|
|
46
|
+
Second, statistics (e.g. min/max, histogram, etc.) are collected for each layer's output
|
|
47
|
+
(and input, depends on the quantization configuration) using a given representative dataset.
|
|
48
|
+
Next, quantization parameters are calculated using the collected statistics.
|
|
49
|
+
Finally, more transformations (based on the statistics) are applied to increase the model's performance.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
graph: A graph representation of the model to be quantized.
|
|
53
|
+
representative_data_gen: Dataset used for calibration.
|
|
54
|
+
core_config: CoreConfig containing parameters of how the model should be quantized
|
|
55
|
+
fw_info: Information needed for quantization about the specific framework (e.g., kernel channels indices,
|
|
56
|
+
groups of layers by how they should be quantized, etc.).
|
|
57
|
+
fw_impl: FrameworkImplementation object with a specific framework methods implementation.
|
|
58
|
+
tb_w: TensorboardWriter object for logging
|
|
59
|
+
|
|
60
|
+
Returns:
|
|
61
|
+
Graph object that represents the model, contains thresholds, and ready for quantization.
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
######################################
|
|
65
|
+
# Graph analyzing (attaching statistics collectors)
|
|
66
|
+
######################################
|
|
67
|
+
analyzer_graph(fw_impl.attach_sc_to_node,
|
|
68
|
+
graph,
|
|
69
|
+
fw_info,
|
|
70
|
+
core_config.quantization_config) # Mark points for statistics collection
|
|
71
|
+
|
|
72
|
+
if tb_w is not None:
|
|
73
|
+
tb_w.add_graph(graph, 'after_analyzer_graph')
|
|
74
|
+
|
|
75
|
+
######################################
|
|
76
|
+
# Statistic collection
|
|
77
|
+
######################################
|
|
78
|
+
mi = ModelCollector(graph,
|
|
79
|
+
fw_impl,
|
|
80
|
+
fw_info)
|
|
81
|
+
|
|
82
|
+
for _data in tqdm(representative_data_gen()):
|
|
83
|
+
mi.infer(_data)
|
|
84
|
+
|
|
85
|
+
######################################
|
|
86
|
+
# Edit network according to user
|
|
87
|
+
# specific settings
|
|
88
|
+
######################################
|
|
89
|
+
# Notice that not all actions affect at this stage (for example, actions that edit the final configuration as
|
|
90
|
+
# there are no final configurations at this stage of the optimization). For this reason we edit the graph
|
|
91
|
+
# again at the end of the optimization process.
|
|
92
|
+
edit_network_graph(graph, fw_info, core_config.debug_config.network_editor)
|
|
93
|
+
|
|
94
|
+
######################################
|
|
95
|
+
# Calculate quantization params
|
|
96
|
+
######################################
|
|
97
|
+
calculate_quantization_params(graph,
|
|
98
|
+
fw_info,
|
|
99
|
+
fw_impl=fw_impl)
|
|
100
|
+
|
|
101
|
+
if tb_w is not None:
|
|
102
|
+
tb_w.add_graph(graph, 'thresholds_selection')
|
|
103
|
+
tb_w.add_all_statistics(graph, 'thresholds_selection')
|
|
104
|
+
|
|
105
|
+
######################################
|
|
106
|
+
# Graph substitution (post statistics collection)
|
|
107
|
+
######################################
|
|
108
|
+
transformed_graph = substitute(graph,
|
|
109
|
+
fw_impl.get_substitutions_post_statistics_collection(core_config.quantization_config))
|
|
110
|
+
|
|
111
|
+
######################################
|
|
112
|
+
# Shift Negative Activations
|
|
113
|
+
######################################
|
|
114
|
+
if core_config.quantization_config.shift_negative_activation_correction:
|
|
115
|
+
transformed_graph = fw_impl.shift_negative_correction(transformed_graph,
|
|
116
|
+
core_config,
|
|
117
|
+
fw_info)
|
|
118
|
+
if tb_w is not None:
|
|
119
|
+
tb_w.add_graph(transformed_graph, 'after_shift_negative_correction')
|
|
120
|
+
tb_w.add_all_statistics(transformed_graph, 'after_shift_negative_correction')
|
|
121
|
+
|
|
122
|
+
if tb_w is not None:
|
|
123
|
+
tb_w.add_graph(transformed_graph, 'post_statistics_collection_substitutions')
|
|
124
|
+
tb_w.add_all_statistics(transformed_graph, 'post_statistics_collection_substitutions')
|
|
125
|
+
|
|
126
|
+
######################################
|
|
127
|
+
# Statistics Correction
|
|
128
|
+
######################################
|
|
129
|
+
tg_with_bias = statistics_correction_runner(transformed_graph, core_config, fw_info, fw_impl, tb_w)
|
|
130
|
+
|
|
131
|
+
for n in tg_with_bias.nodes:
|
|
132
|
+
assert n.final_weights_quantization_cfg is None
|
|
133
|
+
|
|
134
|
+
return tg_with_bias
|
|
@@ -23,6 +23,7 @@ from tqdm import tqdm
|
|
|
23
23
|
from model_compression_toolkit.core.common import FrameworkInfo
|
|
24
24
|
from model_compression_toolkit.core.common.hessian.hessian_info_service import HessianInfoService
|
|
25
25
|
from model_compression_toolkit.core.graph_prep_runner import graph_preparation_runner
|
|
26
|
+
from model_compression_toolkit.core.quantization_prep_runner import quantization_preparation_runner
|
|
26
27
|
from model_compression_toolkit.logger import Logger
|
|
27
28
|
from model_compression_toolkit.core.common.framework_implementation import FrameworkImplementation
|
|
28
29
|
from model_compression_toolkit.core.common.graph.base_graph import Graph
|
|
@@ -47,6 +48,7 @@ from model_compression_toolkit.core.common.visualization.final_config_visualizer
|
|
|
47
48
|
ActivationFinalBitwidthConfigVisualizer
|
|
48
49
|
from model_compression_toolkit.core.common.visualization.tensorboard_writer import TensorboardWriter
|
|
49
50
|
|
|
51
|
+
|
|
50
52
|
def core_runner(in_model: Any,
|
|
51
53
|
representative_data_gen: Callable,
|
|
52
54
|
core_config: CoreConfig,
|
|
@@ -94,12 +96,12 @@ def core_runner(in_model: Any,
|
|
|
94
96
|
representative_dataset=representative_data_gen,
|
|
95
97
|
fw_impl=fw_impl)
|
|
96
98
|
|
|
97
|
-
tg =
|
|
98
|
-
representative_data_gen,
|
|
99
|
-
core_config,
|
|
100
|
-
fw_info,
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
tg = quantization_preparation_runner(graph=graph,
|
|
100
|
+
representative_data_gen=representative_data_gen,
|
|
101
|
+
core_config=core_config,
|
|
102
|
+
fw_info=fw_info,
|
|
103
|
+
fw_impl=fw_impl,
|
|
104
|
+
tb_w=tb_w)
|
|
103
105
|
|
|
104
106
|
######################################
|
|
105
107
|
# Finalize bit widths
|
|
@@ -179,131 +181,6 @@ def _init_tensorboard_writer(fw_info: FrameworkInfo) -> TensorboardWriter:
|
|
|
179
181
|
return tb_w
|
|
180
182
|
|
|
181
183
|
|
|
182
|
-
def read_model_to_graph(in_model: Any,
|
|
183
|
-
representative_data_gen: Callable,
|
|
184
|
-
tpc: TargetPlatformCapabilities,
|
|
185
|
-
fw_info: FrameworkInfo = None,
|
|
186
|
-
fw_impl: FrameworkImplementation = None) -> Graph:
|
|
187
|
-
|
|
188
|
-
"""
|
|
189
|
-
Read a model into a graph object.
|
|
190
|
-
Args:
|
|
191
|
-
in_model: Model to optimize and prepare for quantization.
|
|
192
|
-
representative_data_gen: Dataset used for calibration.
|
|
193
|
-
tpc: TargetPlatformCapabilities object that models the inference target platform and
|
|
194
|
-
the attached framework operator's information.
|
|
195
|
-
fw_info: Information needed for quantization about the specific framework (e.g.,
|
|
196
|
-
kernel channels indices, groups of layers by how they should be quantized, etc.)
|
|
197
|
-
fw_impl: FrameworkImplementation object with a specific framework methods implementation.
|
|
198
|
-
Returns:
|
|
199
|
-
Graph object that represents the model.
|
|
200
|
-
"""
|
|
201
|
-
graph = fw_impl.model_reader(in_model,
|
|
202
|
-
representative_data_gen)
|
|
203
|
-
graph.set_fw_info(fw_info)
|
|
204
|
-
graph.set_tpc(tpc)
|
|
205
|
-
return graph
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
def _prepare_model_for_quantization(transformed_graph: Graph,
|
|
209
|
-
representative_data_gen: Callable,
|
|
210
|
-
core_config: CoreConfig = CoreConfig(),
|
|
211
|
-
fw_info: FrameworkInfo = None,
|
|
212
|
-
tb_w: TensorboardWriter = None,
|
|
213
|
-
fw_impl: FrameworkImplementation = None) -> Graph:
|
|
214
|
-
"""
|
|
215
|
-
Prepare a trained model for post-training quantization.
|
|
216
|
-
First, the model graph is optimized using several transformations (e.g. folding BatchNormalization to preceding layers).
|
|
217
|
-
Second, statistics (e.g. min/max, histogram, etc.) are collected for each layer's output
|
|
218
|
-
(and input, depends on the quantization configuration) using a given representative dataset.
|
|
219
|
-
Next, quantization parameters are calculated using the collected statistics.
|
|
220
|
-
Finally, more transformations (based on the statistics) are applied to increase the model's performance.
|
|
221
|
-
|
|
222
|
-
Args:
|
|
223
|
-
representative_data_gen (Callable): Dataset used for calibration.
|
|
224
|
-
core_config (CoreConfig): CoreConfig containing parameters of how the model should be quantized.
|
|
225
|
-
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g.,
|
|
226
|
-
kernel channels indices, groups of layers by how they should be quantized, etc.)
|
|
227
|
-
tb_w (TensorboardWriter): TensorboardWriter object to use for logging events such as graphs, histograms, etc.
|
|
228
|
-
fw_impl (FrameworkImplementation): FrameworkImplementation object with a specific framework methods implementation.
|
|
229
|
-
|
|
230
|
-
Returns:
|
|
231
|
-
Graph object that represents the model, contains thresholds, and ready for quantization.
|
|
232
|
-
"""
|
|
233
|
-
|
|
234
|
-
######################################
|
|
235
|
-
# Graph analyzing (attaching statistics collectors)
|
|
236
|
-
######################################
|
|
237
|
-
analyzer_graph(fw_impl.attach_sc_to_node,
|
|
238
|
-
transformed_graph,
|
|
239
|
-
fw_info,
|
|
240
|
-
core_config.quantization_config) # Mark points for statistics collection
|
|
241
|
-
|
|
242
|
-
if tb_w is not None:
|
|
243
|
-
tb_w.add_graph(transformed_graph, 'after_analyzer_graph')
|
|
244
|
-
|
|
245
|
-
######################################
|
|
246
|
-
# Statistic collection
|
|
247
|
-
######################################
|
|
248
|
-
mi = ModelCollector(transformed_graph,
|
|
249
|
-
fw_impl,
|
|
250
|
-
fw_info)
|
|
251
|
-
|
|
252
|
-
for _data in tqdm(representative_data_gen()):
|
|
253
|
-
mi.infer(_data)
|
|
254
|
-
|
|
255
|
-
######################################
|
|
256
|
-
# Edit network according to user
|
|
257
|
-
# specific settings
|
|
258
|
-
######################################
|
|
259
|
-
# Notice that not all actions affect at this stage (for example, actions that edit the final configuration as
|
|
260
|
-
# there are no final configurations at this stage of the optimization). For this reason we edit the graph
|
|
261
|
-
# again at the end of the optimization process.
|
|
262
|
-
edit_network_graph(transformed_graph, fw_info, core_config.debug_config.network_editor)
|
|
263
|
-
|
|
264
|
-
######################################
|
|
265
|
-
# Calculate quantization params
|
|
266
|
-
######################################
|
|
267
|
-
calculate_quantization_params(transformed_graph,
|
|
268
|
-
fw_info,
|
|
269
|
-
fw_impl=fw_impl)
|
|
270
|
-
|
|
271
|
-
if tb_w is not None:
|
|
272
|
-
tb_w.add_graph(transformed_graph, 'thresholds_selection')
|
|
273
|
-
tb_w.add_all_statistics(transformed_graph, 'thresholds_selection')
|
|
274
|
-
|
|
275
|
-
######################################
|
|
276
|
-
# Graph substitution (post statistics collection)
|
|
277
|
-
######################################
|
|
278
|
-
transformed_graph = substitute(transformed_graph,
|
|
279
|
-
fw_impl.get_substitutions_post_statistics_collection(core_config.quantization_config))
|
|
280
|
-
|
|
281
|
-
######################################
|
|
282
|
-
# Shift Negative Activations
|
|
283
|
-
######################################
|
|
284
|
-
if core_config.quantization_config.shift_negative_activation_correction:
|
|
285
|
-
transformed_graph = fw_impl.shift_negative_correction(transformed_graph,
|
|
286
|
-
core_config,
|
|
287
|
-
fw_info)
|
|
288
|
-
if tb_w is not None:
|
|
289
|
-
tb_w.add_graph(transformed_graph, 'after_shift_negative_correction')
|
|
290
|
-
tb_w.add_all_statistics(transformed_graph, 'after_shift_negative_correction')
|
|
291
|
-
|
|
292
|
-
if tb_w is not None:
|
|
293
|
-
tb_w.add_graph(transformed_graph, 'post_statistics_collection_substitutions')
|
|
294
|
-
tb_w.add_all_statistics(transformed_graph, 'post_statistics_collection_substitutions')
|
|
295
|
-
|
|
296
|
-
######################################
|
|
297
|
-
# Statistics Correction
|
|
298
|
-
######################################
|
|
299
|
-
tg_with_bias = statistics_correction_runner(transformed_graph, core_config, fw_info, fw_impl, tb_w)
|
|
300
|
-
|
|
301
|
-
for n in tg_with_bias.nodes:
|
|
302
|
-
assert n.final_weights_quantization_cfg is None
|
|
303
|
-
|
|
304
|
-
return tg_with_bias
|
|
305
|
-
|
|
306
|
-
|
|
307
184
|
def _set_final_kpi(graph: Graph,
|
|
308
185
|
final_bit_widths_config: List[int],
|
|
309
186
|
kpi_functions_dict: Dict[KPITarget, Tuple[MpKpiMetric, MpKpiAggregation]],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|