The public API for model developers using federated learning algorithms.
framework module: The public API for
contributors who develop federated learning algorithms.
class Model: Represents a model for use in
class TrainableModel: A Model with an
additional method for (local) training.
Assigns a nested structure of TFF weights to a Keras model.
Builds the TFF computations for optimization using federated averaging.
Builds the TFF computation for federated evaluation of the given model.
Builds the TFF computations for optimization using federated SGD.
ServerState with updated model weights.