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(
12
12
"quantization/keras/__init__.py" ,
13
13
"quantization/keras/default_8bit/__init__.py" ,
14
14
"quantization/keras/quantizers/__init__.py" ,
15
- "quantization/keras/collaborative_optimization_scheme/__init__.py" ,
16
15
"sparsity/__init__.py" ,
17
16
"sparsity/keras/__init__.py" ,
17
+ "experimental/__init__.py" ,
18
+ "experimental/combine/__init__.py" ,
18
19
],
19
20
srcs_version = "PY3" ,
20
21
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.
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
16
16
from tensorflow_model_optimization .python .core .api import clustering
17
17
from tensorflow_model_optimization .python .core .api import quantization
18
18
from 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 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
# ==============================================================================
15
- """Module containing experimental Quantization schemes."""
16
-
15
+ """Module containing collaborative optimization code."""
17
16
from tensorflow_model_optimization .python .core .quantization .keras .collaborative_optimizations .prune_preserve .default_8bit_prune_preserve_quantize_scheme import (
18
17
Default8BitPrunePreserveQuantizeScheme , )
Original file line number Diff line number Diff line change 18
18
# submodules
19
19
from tensorflow_model_optimization .python .core .api .quantization .keras import quantizers
20
20
from 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
22
21
23
22
# quantize all layers with default quantization implementation.
24
23
from tensorflow_model_optimization .python .core .quantization .keras .quantize import quantize_model
You can’t perform that action at this time.
0 commit comments