Attend the Women in ML Symposium on December 7 Register now

tff.federated_sum

Stay organized with collections Save and categorize content based on your preferences.

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_bitwidth.

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.