View source on GitHub |
Helper class to create tensorboard summaries for the clustering progress.
tfmot.clustering.keras.ClusteringSummaries(
log_dir='logs', cluster_update_freq='epoch', **kwargs
)
This class is derived from tf.keras.callbacks.TensorBoard and just adds functionality to write histograms with batch-wise frequency.
Methods
set_model
set_model(
model
)
Sets Keras model and writes graph if specified.
set_params
set_params(
params
)