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.
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.
Converts TFF's nested weights structure to flat weights.
ServerState with updated model weights.