|View source on GitHub|
Libraries for constructing federated aggregation.
For example uses of the symbols in this module, see Tuning recommended aggregations for learning tutorial, and for details of the design and how to implement new aggregations, see Implementing Custom Aggregations tutorial.
UnweightedAggregationFactory for tensorflow_privacy DPQueries.
UnweightedAggregationFactory for encoded sum.
class MeanFactory: Aggregation factory for weighted mean.
AggregationProcess factory for securely summing values.
UnweightedAggregationFactory for sum.
class UnweightedMeanFactory: Aggregation factory for unweighted mean.
class UnweightedReservoirSamplingFactory: An
UnweightedAggregationFactory for reservoir sampling values.
clipping_factory(...): Creates an aggregation factory to perform L2 clipping.
federated_sample(...): Aggregation to produce uniform sample of at most
secure_quantized_sum(...): Quantizes and sums values securely.
zeroing_factory(...): Creates an aggregation factory to perform zeroing.