Missed TensorFlow World? Check out the recap. Learn more

tff.federated_collect

View source on GitHub

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

tff.federated_collect(value)

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.