File tree Expand file tree Collapse file tree 5 files changed +21
-5
lines changed
tensorflow_model_optimization/python/core/api Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ py_library(
1212 "quantization/keras/__init__.py" ,
1313 "quantization/keras/default_8bit/__init__.py" ,
1414 "quantization/keras/quantizers/__init__.py" ,
15- "quantization/keras/collaborative_optimization_scheme/__init__.py" ,
1615 "sparsity/__init__.py" ,
1716 "sparsity/keras/__init__.py" ,
17+ "experimental/__init__.py" ,
18+ "experimental/combine/__init__.py" ,
1819 ],
1920 srcs_version = "PY3" ,
2021 deps = [
Original file line number Diff line number Diff line change 1- # Copyright 2019 The TensorFlow Authors. All Rights Reserved.
1+ # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1616from tensorflow_model_optimization .python .core .api import clustering
1717from tensorflow_model_optimization .python .core .api import quantization
1818from tensorflow_model_optimization .python .core .api import sparsity
19+ from tensorflow_model_optimization .python .core .api import experimental
Original file line number Diff line number Diff line change 1+ # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ # ==============================================================================
15+ """Module containing code for experimental features."""
16+ from tensorflow_model_optimization .python .core .api .experimental import combine
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414# ==============================================================================
15- """Module containing experimental Quantization schemes."""
16-
15+ """Module containing collaborative optimization code."""
1716from tensorflow_model_optimization .python .core .quantization .keras .collaborative_optimizations .prune_preserve .default_8bit_prune_preserve_quantize_scheme import (
1817 Default8BitPrunePreserveQuantizeScheme , )
Original file line number Diff line number Diff line change 1818# submodules
1919from tensorflow_model_optimization .python .core .api .quantization .keras import quantizers
2020from tensorflow_model_optimization .python .core .api .quantization .keras import default_8bit
21- from tensorflow_model_optimization .python .core .api .quantization .keras import collaborative_optimization_scheme
2221
2322# quantize all layers with default quantization implementation.
2423from tensorflow_model_optimization .python .core .quantization .keras .quantize import quantize_model
You can’t perform that action at this time.
0 commit comments