tff.federated_collect

View source on GitHub

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

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

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

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