Registration is open for TensorFlow Dev Summit 2020 Learn more

tff.learning.framework.ClientOutput

View source on GitHub

Class ClientOutput

Structure for outputs returned from clients during federated optimization.

Fields:

  • weights_delta: a dictionary of updates to the model's trainable variables.
  • weights_delta_weight: weight to use in a weighted mean when aggregating weights_delta.
  • model_output: a structure matching tff.learning.Model.report_local_outputs, reflecting the results of training on the input dataset.
  • optimizer_output: additional metrics or other outputs defined by the optimizer.

__init__

__init__(
    weights_delta,
    weights_delta_weight,
    model_output,
    optimizer_output
)

Initialize self. See help(type(self)) for accurate signature.