View source on GitHub |
Computes a sum at tff.SERVER
of a value
placed on the tff.CLIENTS
.
tff.federated_sum(
value
)
Used in the notebooks
Used in the tutorials |
---|
To sum integer values with stronger privacy properties, consider using
tff.federated_secure_sum_bitwidth
.
Args | |
---|---|
value
|
A value of a TFF federated type placed at the tff.CLIENTS .
|
Returns | |
---|---|
A representation of the sum of the member constituents of value placed
on the tff.SERVER .
|
Raises | |
---|---|
TypeError
|
If the argument is not a federated TFF value placed at
tff.CLIENTS .
|