Module: tfmot.clustering.keras
Stay organized with collections
Save and categorize content based on your preferences.
Module containing clustering code built on Keras abstractions.
Modules
clusterable_layer
module: Clusterable layer API class for Keras models.
experimental
module
Classes
class CentroidInitialization
: Specifies how the cluster centroids should be initialized.
class ClusterableLayer
: Abstract Base Class for making your own keras layer clusterable.
class ClusteringAlgorithm
: Class to implement highly efficient vectorised look-ups.
class ClusteringSummaries
: Helper class to create tensorboard summaries for the clustering progress.
Functions
cluster_scope(...)
: Provides a scope in which Clustered layers and models can be deserialized.
cluster_weights(...)
: Modifies a keras layer or model to be clustered during training.
strip_clustering(...)
: Strips clustering wrappers from the model.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-05-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-05-26 UTC."],[],[]]