Watch keynotes, product sessions, workshops, and more from Google I/O See playlist


Computes a sum at tff.SERVER of a value placed on the tff.CLIENTS.

Used in the notebooks

Used in the tutorials

To sum integer values with stronger privacy properties, consider using tff.federated_secure_sum.

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

A representation of the sum of the member constituents of value placed on the tff.SERVER.

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