Watch talks from the 2019 TensorFlow Dev Summit Watch now

tff.learning.build_federated_evaluation

tff.learning.build_federated_evaluation(model_fn)

Defined in learning/federated_evaluation.py.

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

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.