Skip to content

Commit 0821ef1

Browse files
Merge pull request #839 from SaoirseARM:toupstream/tfmot_import
PiperOrigin-RevId: 419381204
2 parents 873912d + 0e2e395 commit 0821ef1

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

tensorflow_model_optimization/python/core/api/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ py_strict_library(
4949
"//tensorflow_model_optimization/python/core/quantization/keras/default_8bit:default_8bit_quantize_registry",
5050
"//tensorflow_model_optimization/python/core/quantization/keras/default_8bit:default_8bit_quantize_scheme",
5151
"//tensorflow_model_optimization/python/core/quantization/keras/default_8bit:default_8bit_transforms",
52+
"//tensorflow_model_optimization/python/core/quantization/keras/experimental",
5253
"//tensorflow_model_optimization/python/core/quantization/keras/experimental/default_n_bit:default_n_bit_quantize_layout_transform",
5354
"//tensorflow_model_optimization/python/core/quantization/keras/experimental/default_n_bit:default_n_bit_quantize_registry",
5455
"//tensorflow_model_optimization/python/core/quantization/keras/experimental/default_n_bit:default_n_bit_quantize_scheme",
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_library")
2+
3+
package(default_visibility = [
4+
"//tensorflow_model_optimization:__subpackages__",
5+
])
6+
7+
licenses(["notice"])
8+
9+
py_strict_library(
10+
name = "experimental",
11+
srcs = [
12+
"__init__.py",
13+
],
14+
srcs_version = "PY3",
15+
deps = [
16+
":quantization", # buildcleaner: keep
17+
],
18+
)
19+
20+
py_strict_library(
21+
name = "quantization",
22+
srcs = ["__init__.py"],
23+
srcs_version = "PY3",
24+
deps = [
25+
"//tensorflow_model_optimization/python/core/quantization/keras", # buildcleaner: keep
26+
],
27+
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2021 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+
# ==============================================================================

0 commit comments

Comments
 (0)