Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tff.learning.build_federated_evaluation

View source on GitHub

Builds the TFF computation for federated evaluation of the given model.

tff.learning.build_federated_evaluation(
    model_fn
)

Used in the notebooks

Used in the tutorials

Args:

Returns:

A federated computation (an instance of tff.Computation) that accepts model parameters and federated data, and returns the evaluation metrics as aggregated by tff.learning.Model.federated_output_computation.