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.
Files changed (484) hide show
  1. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/PKG-INFO +6 -6
  2. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/README.md +5 -5
  3. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/PKG-INFO +6 -6
  4. {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
  5. {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
  6. {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
  7. {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
  8. {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
  9. {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
  10. {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
  11. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/quantization_prep_runner.py +1 -1
  12. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantization_facade.py +5 -8
  13. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantization_facade.py +6 -8
  14. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantization_facade.py +3 -5
  15. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/setup.cfg +1 -1
  16. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/LICENSE.md +0 -0
  17. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/SOURCES.txt +0 -0
  18. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/dependency_links.txt +0 -0
  19. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/requires.txt +0 -0
  20. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/mct_nightly.egg-info/top_level.txt +0 -0
  21. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/__init__.py +0 -0
  22. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/constants.py +0 -0
  23. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/__init__.py +0 -0
  24. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/analyzer.py +0 -0
  25. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/__init__.py +0 -0
  26. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/back2framework/__init__.py +0 -0
  27. {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
  28. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/base_substitutions.py +0 -0
  29. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/collectors/__init__.py +0 -0
  30. {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
  31. {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
  32. {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
  33. {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
  34. {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
  35. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/data_loader.py +0 -0
  36. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/framework_implementation.py +0 -0
  37. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/framework_info.py +0 -0
  38. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/fusion/__init__.py +0 -0
  39. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/__init__.py +0 -0
  40. {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
  41. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/graph/edge.py +0 -0
  42. {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
  43. {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
  44. {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
  45. {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
  46. {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
  47. {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
  48. {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
  49. {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
  50. {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
  51. {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
  52. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/hessian/__init__.py +0 -0
  53. {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
  54. {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
  55. {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
  56. {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
  57. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/__init__.py +0 -0
  58. {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
  59. {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
  60. {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
  61. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/matchers/function.py +0 -0
  62. {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
  63. {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
  64. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/memory_computation.py +0 -0
  65. {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
  66. {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
  67. {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
  68. {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
  69. {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
  70. {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
  71. {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
  72. {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
  73. {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
  74. {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
  75. {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
  76. {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
  77. {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
  78. {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
  79. {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
  80. {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
  81. {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
  82. {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
  83. {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
  84. {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
  85. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/model_collector.py +0 -0
  86. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/model_validation.py +0 -0
  87. {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
  88. {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
  89. {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
  90. {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
  91. {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
  92. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/__init__.py +0 -0
  93. {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
  94. {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
  95. {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
  96. {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
  97. {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
  98. {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
  99. {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
  100. {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
  101. {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
  102. {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
  103. {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
  104. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/pruning/pruner.py +0 -0
  105. {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
  106. {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
  107. {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
  108. {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
  109. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/quantization/__init__.py +0 -0
  110. {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
  111. {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
  112. {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
  113. {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
  114. {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
  115. {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
  116. {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
  117. {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
  118. {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
  119. {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
  120. {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
  121. {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
  122. {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
  123. {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
  124. {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
  125. {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
  126. {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
  127. {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
  128. {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
  129. {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
  130. {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
  131. {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
  132. {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
  133. {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
  134. {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
  135. {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
  136. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/similarity_analyzer.py +0 -0
  137. {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
  138. {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
  139. {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
  140. {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
  141. {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
  142. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/substitutions/__init__.py +0 -0
  143. {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
  144. {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
  145. {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
  146. {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
  147. {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
  148. {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
  149. {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
  150. {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
  151. {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
  152. {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
  153. {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
  154. {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
  155. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/user_info.py +0 -0
  156. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/common/visualization/__init__.py +0 -0
  157. {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
  158. {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
  159. {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
  160. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/exporter.py +0 -0
  161. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/graph_prep_runner.py +0 -0
  162. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/__init__.py +0 -0
  163. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/back2framework/__init__.py +0 -0
  164. {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
  165. {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
  166. {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
  167. {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
  168. {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
  169. {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
  170. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/constants.py +0 -0
  171. {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
  172. {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
  173. {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
  174. {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
  175. {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
  176. {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
  177. {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
  178. {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
  179. {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
  180. {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
  181. {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
  182. {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
  183. {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
  184. {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
  185. {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
  186. {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
  187. {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
  188. {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
  189. {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
  190. {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
  191. {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
  192. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/hessian/__init__.py +0 -0
  193. {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
  194. {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
  195. {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
  196. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/keras_implementation.py +0 -0
  197. {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
  198. {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
  199. {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
  200. {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
  201. {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
  202. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/pruning/__init__.py +0 -0
  203. {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
  204. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/quantizer/__init__.py +0 -0
  205. {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
  206. {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
  207. {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
  208. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/__init__.py +0 -0
  209. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/common.py +0 -0
  210. {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
  211. {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
  212. {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
  213. {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
  214. {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
  215. {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
  216. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/reader/reader.py +0 -0
  217. {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
  218. {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
  219. {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
  220. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/keras/visualization/__init__.py +0 -0
  221. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/__init__.py +0 -0
  222. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/back2framework/__init__.py +0 -0
  223. {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
  224. {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
  225. {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
  226. {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
  227. {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
  228. {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
  229. {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
  230. {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
  231. {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
  232. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/constants.py +0 -0
  233. {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
  234. {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
  235. {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
  236. {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
  237. {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
  238. {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
  239. {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
  240. {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
  241. {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
  242. {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
  243. {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
  244. {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
  245. {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
  246. {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
  247. {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
  248. {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
  249. {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
  250. {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
  251. {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
  252. {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
  253. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/hessian/__init__.py +0 -0
  254. {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
  255. {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
  256. {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
  257. {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
  258. {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
  259. {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
  260. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pruning/__init__.py +0 -0
  261. {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
  262. {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
  263. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/pytorch_implementation.py +0 -0
  264. {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
  265. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/quantizer/__init__.py +0 -0
  266. {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
  267. {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
  268. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/reader/__init__.py +0 -0
  269. {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
  270. {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
  271. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/reader/reader.py +0 -0
  272. {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
  273. {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
  274. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/pytorch/utils.py +0 -0
  275. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/core/runner.py +0 -0
  276. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/__init__.py +0 -0
  277. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/__init__.py +0 -0
  278. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/constants.py +0 -0
  279. {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
  280. {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
  281. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/common/enums.py +0 -0
  282. {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
  283. {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
  284. {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
  285. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/__init__.py +0 -0
  286. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/keras/constants.py +0 -0
  287. {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
  288. {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
  289. {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
  290. {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
  291. {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
  292. {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
  293. {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
  294. {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
  295. {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
  296. {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
  297. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/__init__.py +0 -0
  298. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/data_generation/pytorch/constants.py +0 -0
  299. {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
  300. {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
  301. {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
  302. {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
  303. {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
  304. {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
  305. {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
  306. {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
  307. {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
  308. {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
  309. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/defaultdict.py +0 -0
  310. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/__init__.py +0 -0
  311. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_exporter/__init__.py +0 -0
  312. {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
  313. {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
  314. {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
  315. {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
  316. {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
  317. {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
  318. {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
  319. {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
  320. {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
  321. {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
  322. {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
  323. {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
  324. {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
  325. {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
  326. {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
  327. {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
  328. {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
  329. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/exporter/model_wrapper/__init__.py +0 -0
  330. {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
  331. {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
  332. {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
  333. {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
  334. {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
  335. {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
  336. {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
  337. {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
  338. {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
  339. {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
  340. {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
  341. {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
  342. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/__init__.py +0 -0
  343. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/__init__.py +0 -0
  344. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_config.py +0 -0
  345. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_constants.py +0 -0
  346. {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
  347. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_graph.py +0 -0
  348. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/common/gptq_training.py +0 -0
  349. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/__init__.py +0 -0
  350. {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
  351. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/gptq_loss.py +0 -0
  352. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/gptq_training.py +0 -0
  353. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/graph_info.py +0 -0
  354. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/keras/quantizer/__init__.py +0 -0
  355. {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
  356. {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
  357. {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
  358. {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
  359. {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
  360. {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
  361. {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
  362. {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
  363. {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
  364. {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
  365. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/__init__.py +0 -0
  366. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/gptq_loss.py +0 -0
  367. {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
  368. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/gptq_training.py +0 -0
  369. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/graph_info.py +0 -0
  370. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantization_facade.py +0 -0
  371. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/pytorch/quantizer/__init__.py +0 -0
  372. {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
  373. {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
  374. {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
  375. {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
  376. {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
  377. {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
  378. {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
  379. {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
  380. {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
  381. {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
  382. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/gptq/runner.py +0 -0
  383. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/logger.py +0 -0
  384. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/__init__.py +0 -0
  385. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/keras/__init__.py +0 -0
  386. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/keras/pruning_facade.py +0 -0
  387. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/pytorch/__init__.py +0 -0
  388. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/pruning/pytorch/pruning_facade.py +0 -0
  389. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/__init__.py +0 -0
  390. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/keras/__init__.py +0 -0
  391. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/keras/quantization_facade.py +0 -0
  392. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/pytorch/__init__.py +0 -0
  393. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/pytorch/quantization_facade.py +0 -0
  394. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/ptq/runner.py +0 -0
  395. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/__init__.py +0 -0
  396. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/common/__init__.py +0 -0
  397. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/common/qat_config.py +0 -0
  398. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/__init__.py +0 -0
  399. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/keras/quantizer/__init__.py +0 -0
  400. {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
  401. {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
  402. {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
  403. {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
  404. {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
  405. {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
  406. {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
  407. {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
  408. {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
  409. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/__init__.py +0 -0
  410. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/qat/pytorch/quantizer/__init__.py +0 -0
  411. {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
  412. {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
  413. {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
  414. {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
  415. {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
  416. {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
  417. {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
  418. {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
  419. {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
  420. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/__init__.py +0 -0
  421. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/constants.py +0 -0
  422. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/target_platform_capabilities/immutable.py +0 -0
  423. {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
  424. {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
  425. {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
  426. {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
  427. {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
  428. {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
  429. {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
  430. {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
  431. {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
  432. {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
  433. {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
  434. {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
  435. {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
  436. {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
  437. {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
  438. {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
  439. {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
  440. {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
  441. {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
  442. {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
  443. {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
  444. {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
  445. {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
  446. {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
  447. {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
  448. {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
  449. {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
  450. {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
  451. {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
  452. {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
  453. {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
  454. {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
  455. {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
  456. {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
  457. {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
  458. {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
  459. {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
  460. {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
  461. {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
  462. {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
  463. {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
  464. {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
  465. {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
  466. {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
  467. {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
  468. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/__init__.py +0 -0
  469. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/__init__.py +0 -0
  470. {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
  471. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/common/constants.py +0 -0
  472. {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
  473. {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
  474. {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
  475. {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
  476. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/keras/__init__.py +0 -0
  477. {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
  478. {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
  479. {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
  480. {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
  481. {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
  482. {mct-nightly-1.11.0.20240313.post405 → mct-nightly-1.11.0.20240315.post349}/model_compression_toolkit/trainable_infrastructure/pytorch/__init__.py +0 -0
  483. {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
  484. {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.20240313.post405
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 | | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch21.yml/badge.svg)](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 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
70
- | Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
71
- | Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](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 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml) |
70
+ | Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml) |
71
+ | Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras215.yml/badge.svg)](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 | | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch21.yml/badge.svg)](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 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
64
- | Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
65
- | Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](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 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml) |
64
+ | Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml) |
65
+ | Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras215.yml/badge.svg)](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.20240313.post405
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 | | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch20.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_pytorch21.yml/badge.svg)](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 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) |
70
- | Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) |
71
- | Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](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 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python39_keras215.yml) |
70
+ | Python 3.10 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python310_keras215.yml) |
71
+ | Python 3.11 | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras212.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras213.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml/badge.svg)](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras214.yml) | [![Run Tests](https://github.com/sony/model_optimization/actions/workflows/run_tests_python311_keras215.yml/badge.svg)](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 fusing_pattern[idx] == node.type:
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 fusings
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 layer == nodes[i].type:
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 = [] # nodes that are candidates for participating in fusing
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 != self.type:
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: Any) -> bool:
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.type == self.operation:
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
- fw_info,
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, Callable, Dict
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 get_kwargs2index(tf_func: Callable) -> Dict[str, int]:
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
- tf_func: functional node function.
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 tf_func in [tf.add, tf.subtract, tf.divide, tf.truediv, tf.multiply, tf.pow,
59
- tf.matmul, tf.image.crop_and_resize, tf.image.combined_non_max_suppression]:
60
- return {arg_name: i for i, arg_name in enumerate(tf_inspect.getfullargspec(tf_func).args)}
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.function)
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.function in [tf.add, tf.multiply, tf.subtract, tf.divide, tf.truediv, tf.pow,
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
- fw_info,
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=fw_info).validate()
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(fw_info)
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=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
- fw_info,
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=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=fw_info).validate()
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(fw_info)
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=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, fw_info, fw_impl, tb_w)
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=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(fw_info)
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, fw_info, fw_impl, tb_w)
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=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,
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  description-file = README.md
3
- version = 1.11.0.20240313-000405
3
+ version = 1.11.0.20240315-000349
4
4
 
5
5
  [egg_info]
6
6
  tag_build =