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

tff.federated_eval

View source on GitHub

Evaluates a federated computation at placement, returning the result.

tff.federated_eval(
    fn, placement
)

Args:

  • fn: A no-arg TFF computation.
  • placement: The desired result placement (either tff.SERVER or tff.CLIENTS).

Returns:

A federated value with the given placement placement.

Raises:

  • TypeError: If the arguments are not of the appropriate types.