tff.federated_sum
Computes a sum at tff.SERVER
of a value
placed on the tff.CLIENTS
.
tff.federated_sum(
value
)
Used in the notebooks
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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-23 UTC.