mct-nightly 1.11.0.20240313.post405__tar.gz → 1.11.0.20240315.post349__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.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/PKG-INFO +6 -6
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/README.md +5 -5
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/PKG-INFO +6 -6
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/fusion/layer_fusing.py +8 -6
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/base_node.py +15 -2
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/graph_matchers.py +2 -2
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/shift_negative_activation.py +4 -2
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/kpi_data_facade.py +1 -3
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/node_builder.py +22 -9
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/kpi_data_facade.py +1 -3
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/quantization_prep_runner.py +1 -1
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantization_facade.py +5 -8
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantization_facade.py +6 -8
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantization_facade.py +3 -5
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/setup.cfg +1 -1
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/LICENSE.md +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/SOURCES.txt +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/dependency_links.txt +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/requires.txt +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/top_level.txt +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/analyzer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/back2framework/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/back2framework/base_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/base_substitutions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/base_collector.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/histogram_collector.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/mean_collector.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/min_max_per_channel_collector.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/statistics_collector.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/data_loader.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/framework_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/framework_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/fusion/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/base_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/edge.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/functional_node.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/graph_searches.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/bipartite_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/compute_graph_max_cut.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/cut.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/max_cut_astar.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/memory_element.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/memory_graph/memory_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/virtual_activation_weights_node.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/hessian/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/hessian/hessian_info_service.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/hessian/hessian_info_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/hessian/trace_hessian_calculator.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/hessian/trace_hessian_request.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/base_graph_filter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/base_matcher.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/edge_matcher.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/function.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/node_matcher.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/walk_matcher.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/memory_computation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/bit_width_setter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/configurable_quant_id.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/configurable_quantizer_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/distance_weighting.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_aggregation_methods.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_data.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_functions_mapping.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/kpi_tools/kpi_methods.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_quantization_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_search_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/mixed_precision_search_manager.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/search_methods/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/search_methods/linear_programming.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/sensitivity_evaluation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/set_layer_to_bitwidth.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/mixed_precision/solution_refinement_procedure.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/model_builder_mode.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/model_collector.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/model_validation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/network_editors/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/network_editors/actions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/network_editors/edit_network.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/network_editors/node_filters.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/node_prior_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/channels_grouping.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/greedy_mask_calculator.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/importance_metrics/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/importance_metrics/base_importance_metric.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/importance_metrics/importance_metric_factory.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/importance_metrics/lfh_importance_metric.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/mask/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/mask/per_channel_mask.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/mask/per_simd_group_mask.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/memory_calculator.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/prune_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/pruner.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/pruning_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/pruning_framework_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/pruning_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/pruning_section.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/candidate_node_quantization_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/core_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/debug_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/filter_nodes_candidates.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/node_quantization_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_fn_selection.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_fn_selection.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/error_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/lut_kmeans_params.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/outlier_filter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/power_of_two_selection.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_activations_computation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_computation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_search.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/qparams_weights_computation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/symmetric_selection.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantization_params_generation/uniform_selection.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantize_graph_weights.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantize_node.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantizers/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantizers/lut_kmeans_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantizers/quantizers_helpers.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/quantizers/uniform_quantizers.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/set_node_quantization_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/similarity_analyzer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/statistics_correction/apply_bias_correction_to_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/statistics_correction/apply_second_moment_correction_to_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/statistics_correction/compute_bias_correction_of_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/statistics_correction/statistics_correction.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/apply_substitutions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/linear_collapsing_substitution.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/user_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/visualization/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/visualization/final_config_visualizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/visualization/nn_visualizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/visualization/tensorboard_writer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/graph_prep_runner.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/factory_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/float_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/instance_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/keras_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/mixed_precision_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/quantized_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/custom_layer_validation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/default_framework_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/activation_decomposition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/dwconv_to_conv.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/input_scaling.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/matmul_substitution.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/multi_head_attention_decomposition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/relu_bound_to_power_of_2.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/remove_relu_upper_bound.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/separableconv_decomposition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/graph_substitutions/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/hessian/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/hessian/activation_trace_hessian_calculator_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/hessian/trace_hessian_calculator_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/hessian/weights_trace_hessian_calculator_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/keras_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/keras_model_validation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/keras_node_prior_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/mixed_precision/configurable_activation_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/mixed_precision/configurable_weights_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/pruning/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/pruning/pruning_keras_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/quantizer/base_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/quantizer/fake_quant_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/quantizer/lut_fake_quant.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/common.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/connectivity_handler.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/nested_model/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/nested_model/edges_merger.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/nested_model/nested_model_handler.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/nested_model/nodes_merger.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/nested_model/outputs_merger.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/reader.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/statistics_correction/apply_second_moment_correction.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/tf_tensor_numpy.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/visualization/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/factory_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/float_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/instance_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/mixed_precision_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/pytorch_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/quantized_layer_wrapper.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/quantization_wrapper/wrapper_quantize_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/quantized_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/default_framework_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_folding.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_reconstruction.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/batchnorm_refusing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/const_holder_conv.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/functional_batch_norm.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/functional_layer_norm.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/linear_collapsing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/multi_head_attention_decomposition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/permute_call_method.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/relu_bound_to_power_of_2.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/reshape_with_static_shapes.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/residual_collapsing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/scale_equalization.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/shift_negative_activation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/softmax_shift.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/virtual_activation_weights_composition.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/graph_substitutions/substitutions/weights_activation_split.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/hessian/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/hessian/activation_trace_hessian_calculator_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/hessian/trace_hessian_calculator_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/hessian/weights_trace_hessian_calculator_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/mixed_precision/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/mixed_precision/configurable_activation_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/mixed_precision/configurable_weights_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pruning/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pruning/pruning_pytorch_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pytorch_device_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pytorch_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pytorch_node_prior_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/quantizer/fake_quant_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/quantizer/lut_fake_quant.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/reader/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/reader/graph_builders.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/reader/node_holders.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/reader/reader.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/statistics_correction/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/statistics_correction/apply_second_moment_correction.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/runner.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/data_generation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/data_generation_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/enums.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/image_pipeline.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/model_info_exctractors.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/optimization_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/image_pipeline.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/keras_data_generation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/model_info_exctractors.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_functions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_functions/batchnorm_alignment_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_functions/bn_layer_weighting_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_functions/image_initilization.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_functions/output_loss_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_functions/scheduler_step_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/optimization_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/image_pipeline.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/model_info_exctractors.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_functions/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_functions/batchnorm_alignment_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_functions/bn_layer_weighting_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_functions/image_initilization.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_functions/output_loss_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_functions/scheduler_step_functions.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/optimization_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/pytorch_data_generation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/defaultdict.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/fw_agonstic/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/fw_agonstic/exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/fw_agonstic/quantization_format.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/base_keras_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/export_serialization_format.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/fakely_quant_keras_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/fakely_quant_tflite_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/int8_tflite_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/keras_export_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/keras/mctq_keras_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/pytorch/base_pytorch_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/pytorch/export_serialization_format.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_onnx_pytorch_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/pytorch/fakely_quant_torchscript_pytorch_exporter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/pytorch/pytorch_export_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/fw_agnostic/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/fw_agnostic/get_inferable_quantizers.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/keras/builder/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/keras/builder/fully_quantized_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/keras/builder/node_to_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/keras/validate_layer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/fully_quantized_model_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/pytorch/builder/node_to_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/pytorch/validate_layer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_framework_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_graph.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_training.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/gptq_keras_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/gptq_loss.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/gptq_training.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/graph_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/base_keras_gptq_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/quant_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/regularization_factory.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/soft_quantizer_reg.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/symmetric_soft_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/soft_rounding/uniform_soft_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/gptq_loss.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/gptq_pytorch_implementation.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/gptq_training.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/graph_info.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantization_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/base_pytorch_gptq_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/quant_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/regularization_factory.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/soft_quantizer_reg.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/symmetric_soft_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/soft_rounding/uniform_soft_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/runner.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/logger.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/keras/pruning_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/pytorch/pruning_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/keras/quantization_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/pytorch/quantization_facade.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/runner.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/common/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/common/qat_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/base_keras_qat_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/lsq/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/lsq/symmetric_lsq.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/lsq/uniform_lsq.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/quant_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/ste_rounding/uniform_ste.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/base_pytorch_qat_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/lsq/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/lsq/symmetric_lsq.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/lsq/uniform_lsq.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/quantization_builder.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/quantizer_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/symmetric_ste.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/ste_rounding/uniform_ste.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/immutable.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/current_tp_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/fusing.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/op_quantization_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/operators.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/target_platform_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/target_platform_model_component.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/attribute_filter.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/current_tpc.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/layer_filter_params.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/operations_to_layers.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/target_platform_capabilities.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/target_platform/targetplatform2framework/target_platform_capabilities_component.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/get_target_platform_capabilities.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/tp_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/tpc_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_lut/tpc_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/tp_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/tpc_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/imx500_tpc/v1_pot/tpc_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/qnnpack_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/latest/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/target_platform_capabilities.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/tp_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/tpc_keras.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/tpc_models/tflite_tpc/v1/tpc_pytorch.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/base_trainable_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/constants.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/get_quantizer_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/get_quantizers.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/quant_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/trainable_quantizer_config.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/base_keras_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/config_serialization.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/load_model.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/quantize_wrapper.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/quantizer_utils.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/pytorch/__init__.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/pytorch/base_pytorch_quantizer.py +0 -0
- {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mct-nightly
|
|
3
|
-
Version: 1.11.0.
|
|
3
|
+
Version: 1.11.0.20240315.post349
|
|
4
4
|
Summary: A Model Compression Toolkit for neural networks
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
License: UNKNOWN
|
|
@@ -64,11 +64,11 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
64
64
|
| Python 3.11 | | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch21.yml) |
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 |
|
|
68
|
-
|
|
69
|
-
| Python 3.9 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
|
|
70
|
-
| Python 3.10 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
|
|
71
|
-
| Python 3.11 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) |
|
|
67
|
+
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 | TensorFlow 2.15 |
|
|
68
|
+
|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
69
|
+
| Python 3.9 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml) |
|
|
70
|
+
| Python 3.10 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml) |
|
|
71
|
+
| Python 3.11 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras215.yml) |
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
## Supported Features
|
|
@@ -58,11 +58,11 @@ Currently, MCT is being tested on various Python, Pytorch and TensorFlow version
|
|
|
58
58
|
| Python 3.11 | | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch21.yml) |
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 |
|
|
62
|
-
|
|
63
|
-
| Python 3.9 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
|
|
64
|
-
| Python 3.10 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
|
|
65
|
-
| Python 3.11 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) |
|
|
61
|
+
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 | TensorFlow 2.15 |
|
|
62
|
+
|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
63
|
+
| Python 3.9 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml) |
|
|
64
|
+
| Python 3.10 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml) |
|
|
65
|
+
| Python 3.11 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras215.yml) |
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
## Supported Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mct-nightly
|
|
3
|
-
Version: 1.11.0.
|
|
3
|
+
Version: 1.11.0.20240315.post349
|
|
4
4
|
Summary: A Model Compression Toolkit for neural networks
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
License: UNKNOWN
|
|
@@ -64,11 +64,11 @@ Description: # Model Compression Toolkit (MCT)
|
|
|
64
64
|
| Python 3.11 | | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch21.yml) |
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 |
|
|
68
|
-
|
|
69
|
-
| Python 3.9 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
|
|
70
|
-
| Python 3.10 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
|
|
71
|
-
| Python 3.11 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) |
|
|
67
|
+
| | TensorFlow 2.12 | TensorFlow 2.13 | TensorFlow 2.14 | TensorFlow 2.15 |
|
|
68
|
+
|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
69
|
+
| Python 3.9 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml) |
|
|
70
|
+
| Python 3.10 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml) |
|
|
71
|
+
| Python 3.11 | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) | [](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras215.yml) |
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
## Supported Features
|
|
@@ -31,9 +31,10 @@ def filter_fusing_patterns(fusing_patterns: List[List[Any]], node: BaseNode, idx
|
|
|
31
31
|
fusing_patterns after filtering non-relevant fusions
|
|
32
32
|
"""
|
|
33
33
|
valid_fusing_patterns = []
|
|
34
|
-
for i,fusing_pattern in enumerate(fusing_patterns):
|
|
34
|
+
for i, fusing_pattern in enumerate(fusing_patterns):
|
|
35
35
|
if idx < len(fusing_pattern):
|
|
36
|
-
if (type(fusing_pattern[idx]) == LayerFilterParams and node.is_match_filter_params(fusing_pattern[idx])) or
|
|
36
|
+
if (type(fusing_pattern[idx]) == LayerFilterParams and node.is_match_filter_params(fusing_pattern[idx])) or \
|
|
37
|
+
node.is_match_type(fusing_pattern[idx]):
|
|
37
38
|
valid_fusing_patterns.append(fusing_pattern)
|
|
38
39
|
|
|
39
40
|
# Return only valid patterns for this node
|
|
@@ -44,7 +45,7 @@ def is_valid_fusion(fusing_patterns: List[List[Any]], nodes: List[BaseNode]) ->
|
|
|
44
45
|
"""
|
|
45
46
|
Check if the fusion is valid: exist in fusing_patterns
|
|
46
47
|
Args:
|
|
47
|
-
fusing_patterns: supported
|
|
48
|
+
fusing_patterns: supported fusing patterns
|
|
48
49
|
nodes: nodes which are participating in fusion
|
|
49
50
|
Returns:
|
|
50
51
|
whether the fusion in valid
|
|
@@ -56,8 +57,9 @@ def is_valid_fusion(fusing_patterns: List[List[Any]], nodes: List[BaseNode]) ->
|
|
|
56
57
|
if fusion_depth != len(fusing_pattern):
|
|
57
58
|
continue
|
|
58
59
|
counter = 0
|
|
59
|
-
for i,layer in enumerate(fusing_pattern):
|
|
60
|
-
if (type(layer) == LayerFilterParams and nodes[i].is_match_filter_params(layer)) or
|
|
60
|
+
for i, layer in enumerate(fusing_pattern):
|
|
61
|
+
if (type(layer) == LayerFilterParams and nodes[i].is_match_filter_params(layer)) or \
|
|
62
|
+
nodes[i].is_match_type(layer):
|
|
61
63
|
counter += 1
|
|
62
64
|
if counter == fusion_depth:
|
|
63
65
|
return True
|
|
@@ -107,7 +109,7 @@ def fusion(graph: Graph, tpc: TargetPlatformCapabilities) -> Graph:
|
|
|
107
109
|
if node in fused_nodes:
|
|
108
110
|
continue
|
|
109
111
|
# Start fusing search
|
|
110
|
-
fusing_nodes = []
|
|
112
|
+
fusing_nodes = [] # nodes that are candidates for participating in fusing
|
|
111
113
|
patterns = copy.deepcopy(fusing_patterns)
|
|
112
114
|
next_nodes = [node]
|
|
113
115
|
for i in range(max_layers_fusing):
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# ==============================================================================
|
|
15
15
|
|
|
16
16
|
import copy
|
|
17
|
-
from typing import Dict, Any, Tuple, List
|
|
17
|
+
from typing import Dict, Any, Tuple, List, Type
|
|
18
18
|
|
|
19
19
|
import numpy as np
|
|
20
20
|
|
|
@@ -556,6 +556,19 @@ class BaseNode:
|
|
|
556
556
|
return tpc.layer2qco.get(self.type)
|
|
557
557
|
return tpc.tp_model.default_qco
|
|
558
558
|
|
|
559
|
+
def is_match_type(self, _type: Type) -> bool:
|
|
560
|
+
"""
|
|
561
|
+
Check if input type matches the node type, either in instance type or in type name. Checking the
|
|
562
|
+
name string is required because of function types changes that occurred in TF 2.15.
|
|
563
|
+
|
|
564
|
+
Args:
|
|
565
|
+
_type: other node type
|
|
566
|
+
Returns:
|
|
567
|
+
Whether _type matches the self node type
|
|
568
|
+
|
|
569
|
+
"""
|
|
570
|
+
return _type == self.type or _type.__name__ == self.type.__name__
|
|
571
|
+
|
|
559
572
|
def is_match_filter_params(self, layer_filter_params: LayerFilterParams) -> bool:
|
|
560
573
|
"""
|
|
561
574
|
Check if the node matches a LayerFilterParams according to its
|
|
@@ -572,7 +585,7 @@ class BaseNode:
|
|
|
572
585
|
return False
|
|
573
586
|
|
|
574
587
|
# Check the node has the same type as the layer in LayerFilterParams
|
|
575
|
-
if layer_filter_params.layer
|
|
588
|
+
if not self.is_match_type(layer_filter_params.layer):
|
|
576
589
|
return False
|
|
577
590
|
|
|
578
591
|
# Get attributes from node to filter
|
|
@@ -35,7 +35,7 @@ class NodeOperationMatcher(node_matcher.BaseNodeMatcher):
|
|
|
35
35
|
|
|
36
36
|
self.operation = operation
|
|
37
37
|
|
|
38
|
-
def apply(self, input_node_object:
|
|
38
|
+
def apply(self, input_node_object: BaseNode) -> bool:
|
|
39
39
|
"""
|
|
40
40
|
Check if input_node_object matches the matcher condition.
|
|
41
41
|
|
|
@@ -47,7 +47,7 @@ class NodeOperationMatcher(node_matcher.BaseNodeMatcher):
|
|
|
47
47
|
return nothing.
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
|
-
if input_node_object.
|
|
50
|
+
if input_node_object.is_match_type(self.operation):
|
|
51
51
|
return True
|
|
52
52
|
|
|
53
53
|
|
|
@@ -109,7 +109,8 @@ def create_add_node(add_value: float,
|
|
|
109
109
|
quantization_attr={},
|
|
110
110
|
layer_class=TFOpLambda,
|
|
111
111
|
op_call_args=[np.array(add_value, dtype=np.float32).reshape([1] * len(input_shape))],
|
|
112
|
-
op_call_kwargs={}
|
|
112
|
+
op_call_kwargs={},
|
|
113
|
+
functional_op=tf.add)
|
|
113
114
|
return add_node
|
|
114
115
|
|
|
115
116
|
|
|
@@ -157,7 +158,8 @@ def create_pad_node(next_node_name: str,
|
|
|
157
158
|
layer_class=TFOpLambda,
|
|
158
159
|
op_call_args=[],
|
|
159
160
|
op_call_kwargs={'paddings': num_elements_to_pad,
|
|
160
|
-
'constant_values': value_to_pad}
|
|
161
|
+
'constant_values': value_to_pad},
|
|
162
|
+
functional_op=tf.pad)
|
|
161
163
|
|
|
162
164
|
return pad_node
|
|
163
165
|
|
|
@@ -36,7 +36,6 @@ if FOUND_TF:
|
|
|
36
36
|
def keras_kpi_data(in_model: Model,
|
|
37
37
|
representative_data_gen: Callable,
|
|
38
38
|
core_config: CoreConfig = CoreConfig(mixed_precision_config=MixedPrecisionQuantizationConfig()),
|
|
39
|
-
fw_info: FrameworkInfo = DEFAULT_KERAS_INFO,
|
|
40
39
|
target_platform_capabilities: TargetPlatformCapabilities = KERAS_DEFAULT_TPC) -> KPI:
|
|
41
40
|
"""
|
|
42
41
|
Computes KPI data that can be used to calculate the desired target KPI for mixed-precision quantization.
|
|
@@ -46,7 +45,6 @@ if FOUND_TF:
|
|
|
46
45
|
in_model (Model): Keras model to quantize.
|
|
47
46
|
representative_data_gen (Callable): Dataset used for calibration.
|
|
48
47
|
core_config (CoreConfig): CoreConfig containing parameters for quantization and mixed precision of how the model should be quantized.
|
|
49
|
-
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g., kernel channels indices, groups of layers by how they should be quantized, etc.). `Default Keras info <https://github.com/sony/model_optimization/blob/main/model_compression_toolkit/core/keras/default_framework_info.py>`_
|
|
50
48
|
target_platform_capabilities (TargetPlatformCapabilities): TargetPlatformCapabilities to optimize the Keras model according to.
|
|
51
49
|
|
|
52
50
|
Returns:
|
|
@@ -82,7 +80,7 @@ if FOUND_TF:
|
|
|
82
80
|
representative_data_gen,
|
|
83
81
|
core_config,
|
|
84
82
|
target_platform_capabilities,
|
|
85
|
-
|
|
83
|
+
DEFAULT_KERAS_INFO,
|
|
86
84
|
fw_impl)
|
|
87
85
|
|
|
88
86
|
else:
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
# ==============================================================================
|
|
15
|
-
from typing import Any,
|
|
15
|
+
from typing import Any, List, Dict
|
|
16
16
|
|
|
17
17
|
import tensorflow as tf
|
|
18
18
|
from tensorflow.python.util import tf_inspect
|
|
@@ -45,19 +45,32 @@ is_const = lambda x: isinstance(x, (tf.Variable, tf.Tensor, np.ndarray))
|
|
|
45
45
|
is_tensor = lambda x: isinstance(x, KerasTensor)
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
def
|
|
48
|
+
def get_tf_function_symbols() -> List[str]:
|
|
49
|
+
"""
|
|
50
|
+
Create a list of tf function symbols, as they are created in the TFOpLambda layer. The
|
|
51
|
+
symbols are serializations of the function names.
|
|
52
|
+
|
|
53
|
+
Returns:
|
|
54
|
+
A list of TF function symbols,
|
|
55
|
+
"""
|
|
56
|
+
return [TFOpLambda(f).symbol for f in [tf.add, tf.multiply, tf.subtract, tf.divide,
|
|
57
|
+
tf.truediv, tf.pow, tf.matmul]]
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def get_kwargs2index(tfoplambda_layer: TFOpLambda) -> Dict[str, int]:
|
|
49
61
|
"""
|
|
50
62
|
Positional weights are saved according to their index in the node's call arguments, so
|
|
51
63
|
need to know the function arguments' names in case the weights are in the kwargs.
|
|
52
64
|
Args:
|
|
53
|
-
|
|
65
|
+
tfoplambda_layer: TFOpLambda layer.
|
|
54
66
|
|
|
55
67
|
Returns:
|
|
56
68
|
A dictionary with argument number and index: {arg_name: arg_index}.
|
|
57
69
|
"""
|
|
58
|
-
if
|
|
59
|
-
|
|
60
|
-
|
|
70
|
+
if tfoplambda_layer.function in [tf.add, tf.subtract, tf.divide, tf.truediv, tf.multiply, tf.pow,
|
|
71
|
+
tf.matmul, tf.image.crop_and_resize, tf.image.combined_non_max_suppression] or \
|
|
72
|
+
tfoplambda_layer.symbol in ['__operators__.add', 'math.add', 'math.multiply', 'linalg.matmul', 'concat']:
|
|
73
|
+
return {arg_name: i for i, arg_name in enumerate(tf_inspect.getfullargspec(tfoplambda_layer.function).args)}
|
|
61
74
|
else:
|
|
62
75
|
return {}
|
|
63
76
|
|
|
@@ -110,7 +123,7 @@ def build_node(node: KerasNode,
|
|
|
110
123
|
# a flag to indicate that.
|
|
111
124
|
inputs_as_list = __is_functional_inputs_a_list(op_call_args)
|
|
112
125
|
|
|
113
|
-
kwarg2index = get_kwargs2index(keras_layer
|
|
126
|
+
kwarg2index = get_kwargs2index(keras_layer)
|
|
114
127
|
|
|
115
128
|
# Functional nodes do not have weights, but may have constants in their call_args and\or
|
|
116
129
|
# call kwargs. Therefore, we extract these constants and save them in the node's weights as
|
|
@@ -122,10 +135,10 @@ def build_node(node: KerasNode,
|
|
|
122
135
|
Logger.error('Functional nodes are not expected to have weights in framework')
|
|
123
136
|
|
|
124
137
|
# read weights from call args
|
|
138
|
+
tf_function_symbols = get_tf_function_symbols()
|
|
125
139
|
for i, arg in enumerate(op_call_args[0] if inputs_as_list else op_call_args):
|
|
126
140
|
if is_const(arg) or (
|
|
127
|
-
keras_layer.
|
|
128
|
-
tf.matmul] and
|
|
141
|
+
keras_layer.symbol in tf_function_symbols and
|
|
129
142
|
isinstance(arg, (tuple, list))):
|
|
130
143
|
weights.update({i: to_numpy(arg, is_single_tensor=True)})
|
|
131
144
|
# remove weights and KerasTensors and weights from op_call_args
|
|
@@ -39,7 +39,6 @@ if FOUND_TORCH:
|
|
|
39
39
|
def pytorch_kpi_data(in_model: Module,
|
|
40
40
|
representative_data_gen: Callable,
|
|
41
41
|
core_config: CoreConfig = CoreConfig(mixed_precision_config=MixedPrecisionQuantizationConfig()),
|
|
42
|
-
fw_info: FrameworkInfo = DEFAULT_PYTORCH_INFO,
|
|
43
42
|
target_platform_capabilities: TargetPlatformCapabilities = PYTORCH_DEFAULT_TPC) -> KPI:
|
|
44
43
|
"""
|
|
45
44
|
Computes KPI data that can be used to calculate the desired target KPI for mixed-precision quantization.
|
|
@@ -49,7 +48,6 @@ if FOUND_TORCH:
|
|
|
49
48
|
in_model (Model): PyTorch model to quantize.
|
|
50
49
|
representative_data_gen (Callable): Dataset used for calibration.
|
|
51
50
|
core_config (CoreConfig): CoreConfig containing parameters for quantization and mixed precision
|
|
52
|
-
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g., kernel channels indices, groups of layers by how they should be quantized, etc.). `Default PyTorch info <https://github.com/sony/model_optimization/blob/main/model_compression_toolkit/core/pytorch/default_framework_info.py>`_
|
|
53
51
|
target_platform_capabilities (TargetPlatformCapabilities): TargetPlatformCapabilities to optimize the PyTorch model according to.
|
|
54
52
|
|
|
55
53
|
Returns:
|
|
@@ -85,7 +83,7 @@ if FOUND_TORCH:
|
|
|
85
83
|
representative_data_gen,
|
|
86
84
|
core_config,
|
|
87
85
|
target_platform_capabilities,
|
|
88
|
-
|
|
86
|
+
DEFAULT_PYTORCH_INFO,
|
|
89
87
|
fw_impl)
|
|
90
88
|
|
|
91
89
|
else:
|
|
@@ -68,7 +68,7 @@ def quantization_preparation_runner(graph: Graph,
|
|
|
68
68
|
fw_info,
|
|
69
69
|
core_config.quantization_config) # Mark points for statistics collection
|
|
70
70
|
|
|
71
|
-
for _data in tqdm(representative_data_gen(), "Statistics Collection
|
|
71
|
+
for _data in tqdm(representative_data_gen(), "Statistics Collection"):
|
|
72
72
|
mi.infer(_data)
|
|
73
73
|
|
|
74
74
|
if tb_w is not None:
|
|
@@ -113,12 +113,10 @@ if FOUND_TF:
|
|
|
113
113
|
regularization_factor=regularization_factor)
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
def keras_gradient_post_training_quantization(in_model: Model,
|
|
117
|
-
representative_data_gen: Callable,
|
|
116
|
+
def keras_gradient_post_training_quantization(in_model: Model, representative_data_gen: Callable,
|
|
118
117
|
gptq_config: GradientPTQConfig,
|
|
119
118
|
gptq_representative_data_gen: Callable = None,
|
|
120
119
|
core_config: CoreConfig = CoreConfig(),
|
|
121
|
-
fw_info: FrameworkInfo = DEFAULT_KERAS_INFO,
|
|
122
120
|
target_platform_capabilities: TargetPlatformCapabilities = DEFAULT_KERAS_TPC) -> Tuple[Model, UserInformation]:
|
|
123
121
|
"""
|
|
124
122
|
Quantize a trained Keras model using post-training quantization. The model is quantized using a
|
|
@@ -142,7 +140,6 @@ if FOUND_TF:
|
|
|
142
140
|
gptq_config (GradientPTQConfig): Configuration for using gptq (e.g. optimizer).
|
|
143
141
|
gptq_representative_data_gen (Callable): Dataset used for GPTQ training. If None defaults to representative_data_gen
|
|
144
142
|
core_config (CoreConfig): Configuration object containing parameters of how the model should be quantized, including mixed precision parameters.
|
|
145
|
-
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g., kernel channels indices, groups of layers by how they should be quantized, etc.). `Default Keras info <https://github.com/sony/model_optimization/blob/main/model_compression_toolkit/core/keras/default_framework_info.py>`_
|
|
146
143
|
target_platform_capabilities (TargetPlatformCapabilities): TargetPlatformCapabilities to optimize the Keras model according to.
|
|
147
144
|
|
|
148
145
|
Returns:
|
|
@@ -192,7 +189,7 @@ if FOUND_TF:
|
|
|
192
189
|
|
|
193
190
|
"""
|
|
194
191
|
KerasModelValidation(model=in_model,
|
|
195
|
-
fw_info=
|
|
192
|
+
fw_info=DEFAULT_KERAS_INFO).validate()
|
|
196
193
|
|
|
197
194
|
if core_config.mixed_precision_enable:
|
|
198
195
|
if not isinstance(core_config.mixed_precision_config, MixedPrecisionQuantizationConfig):
|
|
@@ -200,14 +197,14 @@ if FOUND_TF:
|
|
|
200
197
|
"MixedPrecisionQuantizationConfig. Please use keras_post_training_quantization "
|
|
201
198
|
"API, or pass a valid mixed precision configuration.") # pragma: no cover
|
|
202
199
|
|
|
203
|
-
tb_w = init_tensorboard_writer(
|
|
200
|
+
tb_w = init_tensorboard_writer(DEFAULT_KERAS_INFO)
|
|
204
201
|
|
|
205
202
|
fw_impl = GPTQKerasImplemantation()
|
|
206
203
|
|
|
207
204
|
tg, bit_widths_config, hessian_info_service = core_runner(in_model=in_model,
|
|
208
205
|
representative_data_gen=representative_data_gen,
|
|
209
206
|
core_config=core_config,
|
|
210
|
-
fw_info=
|
|
207
|
+
fw_info=DEFAULT_KERAS_INFO,
|
|
211
208
|
fw_impl=fw_impl,
|
|
212
209
|
tpc=target_platform_capabilities,
|
|
213
210
|
tb_w=tb_w)
|
|
@@ -217,7 +214,7 @@ if FOUND_TF:
|
|
|
217
214
|
gptq_config,
|
|
218
215
|
representative_data_gen,
|
|
219
216
|
gptq_representative_data_gen if gptq_representative_data_gen else representative_data_gen,
|
|
220
|
-
|
|
217
|
+
DEFAULT_KERAS_INFO,
|
|
221
218
|
fw_impl,
|
|
222
219
|
tb_w,
|
|
223
220
|
hessian_info_service=hessian_info_service)
|
|
@@ -89,7 +89,6 @@ if FOUND_TF:
|
|
|
89
89
|
representative_data_gen: Callable,
|
|
90
90
|
core_config: CoreConfig = CoreConfig(),
|
|
91
91
|
qat_config: QATConfig = QATConfig(),
|
|
92
|
-
fw_info: FrameworkInfo = DEFAULT_KERAS_INFO,
|
|
93
92
|
target_platform_capabilities: TargetPlatformCapabilities = DEFAULT_KERAS_TPC):
|
|
94
93
|
"""
|
|
95
94
|
Prepare a trained Keras model for quantization aware training. First the model quantization is optimized
|
|
@@ -111,7 +110,6 @@ if FOUND_TF:
|
|
|
111
110
|
representative_data_gen (Callable): Dataset used for initial calibration.
|
|
112
111
|
core_config (CoreConfig): Configuration object containing parameters of how the model should be quantized, including mixed precision parameters.
|
|
113
112
|
qat_config (QATConfig): QAT configuration
|
|
114
|
-
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g., kernel channels indices, groups of layers by how they should be quantized, etc.). `Default Keras info <https://github.com/sony/model_optimization/blob/main/model_compression_toolkit/core/keras/default_framework_info.py>`_
|
|
115
113
|
target_platform_capabilities (TargetPlatformCapabilities): TargetPlatformCapabilities to optimize the Keras model according to.
|
|
116
114
|
|
|
117
115
|
Returns:
|
|
@@ -159,7 +157,7 @@ if FOUND_TF:
|
|
|
159
157
|
Pass the model, the representative dataset generator, the configuration and the target KPI to get a
|
|
160
158
|
quantized model:
|
|
161
159
|
|
|
162
|
-
>>> quantized_model, quantization_info, custom_objects = mct.qat.keras_quantization_aware_training_init_experimental(model, repr_datagen, kpi, core_config=
|
|
160
|
+
>>> quantized_model, quantization_info, custom_objects = mct.qat.keras_quantization_aware_training_init_experimental(model, repr_datagen, kpi, core_config=core_config)
|
|
163
161
|
|
|
164
162
|
Use the quantized model for fine-tuning. For loading the model from file, use the custom_objects dictionary:
|
|
165
163
|
|
|
@@ -174,7 +172,7 @@ if FOUND_TF:
|
|
|
174
172
|
f"project https://github.com/sony/model_optimization")
|
|
175
173
|
|
|
176
174
|
KerasModelValidation(model=in_model,
|
|
177
|
-
fw_info=
|
|
175
|
+
fw_info=DEFAULT_KERAS_INFO).validate()
|
|
178
176
|
|
|
179
177
|
if core_config.mixed_precision_enable:
|
|
180
178
|
if not isinstance(core_config.mixed_precision_config, MixedPrecisionQuantizationConfig):
|
|
@@ -182,7 +180,7 @@ if FOUND_TF:
|
|
|
182
180
|
"MixedPrecisionQuantizationConfig. Please use keras_post_training_quantization API,"
|
|
183
181
|
"or pass a valid mixed precision configuration.")
|
|
184
182
|
|
|
185
|
-
tb_w = init_tensorboard_writer(
|
|
183
|
+
tb_w = init_tensorboard_writer(DEFAULT_KERAS_INFO)
|
|
186
184
|
|
|
187
185
|
fw_impl = KerasImplementation()
|
|
188
186
|
|
|
@@ -190,16 +188,16 @@ if FOUND_TF:
|
|
|
190
188
|
tg, bit_widths_config, _ = core_runner(in_model=in_model,
|
|
191
189
|
representative_data_gen=representative_data_gen,
|
|
192
190
|
core_config=core_config,
|
|
193
|
-
fw_info=
|
|
191
|
+
fw_info=DEFAULT_KERAS_INFO,
|
|
194
192
|
fw_impl=fw_impl,
|
|
195
193
|
tpc=target_platform_capabilities,
|
|
196
194
|
tb_w=tb_w)
|
|
197
195
|
|
|
198
|
-
tg = ptq_runner(tg, representative_data_gen, core_config,
|
|
196
|
+
tg = ptq_runner(tg, representative_data_gen, core_config, DEFAULT_KERAS_INFO, fw_impl, tb_w)
|
|
199
197
|
|
|
200
198
|
_qat_wrapper = partial(qat_wrapper, qat_config=qat_config)
|
|
201
199
|
qat_model, user_info = KerasModelBuilder(graph=tg,
|
|
202
|
-
fw_info=
|
|
200
|
+
fw_info=DEFAULT_KERAS_INFO,
|
|
203
201
|
wrapper=_qat_wrapper,
|
|
204
202
|
get_activation_quantizer_holder_fn=partial(get_activation_quantizer_holder,
|
|
205
203
|
qat_config=qat_config)).build_model()
|
|
@@ -77,7 +77,6 @@ if FOUND_TORCH:
|
|
|
77
77
|
representative_data_gen: Callable,
|
|
78
78
|
core_config: CoreConfig = CoreConfig(),
|
|
79
79
|
qat_config: QATConfig = QATConfig(),
|
|
80
|
-
fw_info: FrameworkInfo = DEFAULT_PYTORCH_INFO,
|
|
81
80
|
target_platform_capabilities: TargetPlatformCapabilities = DEFAULT_PYTORCH_TPC):
|
|
82
81
|
"""
|
|
83
82
|
Prepare a trained Pytorch model for quantization aware training. First the model quantization is optimized
|
|
@@ -99,7 +98,6 @@ if FOUND_TORCH:
|
|
|
99
98
|
representative_data_gen (Callable): Dataset used for initial calibration.
|
|
100
99
|
core_config (CoreConfig): Configuration object containing parameters of how the model should be quantized, including mixed precision parameters.
|
|
101
100
|
qat_config (QATConfig): QAT configuration
|
|
102
|
-
fw_info (FrameworkInfo): Information needed for quantization about the specific framework (e.g., kernel channels indices, groups of layers by how they should be quantized, etc.). `Default Pytorch info <https://github.com/sony/model_optimization/blob/main/model_compression_toolkit/core/pytorch/default_framework_info.py>`_
|
|
103
101
|
target_platform_capabilities (TargetPlatformCapabilities): TargetPlatformCapabilities to optimize the Pytorch model according to.
|
|
104
102
|
|
|
105
103
|
Returns:
|
|
@@ -150,7 +148,7 @@ if FOUND_TORCH:
|
|
|
150
148
|
"MixedPrecisionQuantizationConfig. Please use pytorch_post_training_quantization API,"
|
|
151
149
|
"or pass a valid mixed precision configuration.")
|
|
152
150
|
|
|
153
|
-
tb_w = init_tensorboard_writer(
|
|
151
|
+
tb_w = init_tensorboard_writer(DEFAULT_PYTORCH_INFO)
|
|
154
152
|
fw_impl = PytorchImplementation()
|
|
155
153
|
|
|
156
154
|
# Ignore trace hessian service as we do not use it here
|
|
@@ -162,12 +160,12 @@ if FOUND_TORCH:
|
|
|
162
160
|
tpc=target_platform_capabilities,
|
|
163
161
|
tb_w=tb_w)
|
|
164
162
|
|
|
165
|
-
tg = ptq_runner(tg, representative_data_gen, core_config,
|
|
163
|
+
tg = ptq_runner(tg, representative_data_gen, core_config, DEFAULT_PYTORCH_INFO, fw_impl, tb_w)
|
|
166
164
|
|
|
167
165
|
_qat_wrapper = partial(qat_wrapper, qat_config=qat_config)
|
|
168
166
|
|
|
169
167
|
qat_model, user_info = PyTorchModelBuilder(graph=tg,
|
|
170
|
-
fw_info=
|
|
168
|
+
fw_info=DEFAULT_PYTORCH_INFO,
|
|
171
169
|
wrapper=_qat_wrapper,
|
|
172
170
|
get_activation_quantizer_holder_fn=partial(
|
|
173
171
|
get_activation_quantizer_holder,
|
|
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
|