Skip to content

Commit 649194a

Browse files
committed
Fix to add clustering_callbacks.py to the pip package and the api
The RELEASE.md was updated accordingly.
1 parent e4a5200 commit 649194a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

RELEASE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Keras pruning API:
3030
* Tested against TensorFlow 1.14.0, 2.0.0, and nightly, and Python 3.
3131

3232

33+
# TensorFlow Model Optimization next release TBD
34+
35+
Keras clustering API:
36+
37+
* Added *ClusteringSummaries* to create additional output for the clustering
38+
progress for TensorBoard.
39+
* Tested against TensorFlow 1.14.0, 2.0.0, and nightly, and Python 3.
40+
3341
# TensorFlow Model Optimization 0.5.0
3442

3543
TFMOT 0.5.0 adds some additional features for Quantization Aware Training. QAT

tensorflow_model_optimization/python/core/api/clustering/keras/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
from tensorflow_model_optimization.python.core.clustering.keras.cluster import strip_clustering
2222

2323
from tensorflow_model_optimization.python.core.clustering.keras.cluster_config import CentroidInitialization
24+
from tensorflow_model_optimization.python.core.clustering.keras.clustering_callbacks import ClusteringSummaries
2425
# pylint: enable=g-bad-import-order

tensorflow_model_optimization/python/core/clustering/keras/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ py_library(
1212
srcs_version = "PY3",
1313
deps = [
1414
":cluster",
15+
":clustering_callbacks",
1516
"//tensorflow_model_optimization/python/core/clustering/keras/experimental",
1617
],
1718
)

0 commit comments

Comments
 (0)