tff.federated_collect

tff.federated_collect(value)

Defined in core/api/intrinsics.py.

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

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.