TensorFlow 2.0 Beta is available Learn more

tff.federated_collect

Returns a federated value from tff.CLIENTS as a tff.SERVER sequence.

tff.federated_collect(value)

Defined in python/core/api/intrinsics.py.

Args:

  • value: A value of a TFF federated type placed at the tff.CLIENTS.

Returns:

A stream of the same type as the member constituents of value placed at the tff.SERVER.

Raises:

  • TypeError: if the argument is not a federated TFF value placed at tff.CLIENTS.