|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 discrete Fourier transform.
UnweightedAggregationFactory for encoded sum.
UnweightedAggregationFactory for fast Walsh-Hadamard transform.
class MeanFactory: Aggregation factory for weighted mean.
AggregationProcess factory for securely summing values under a modulus.
AggregationProcess factory for securely summing values.
UnweightedAggregationFactory for sum.
class UnweightedMeanFactory: Aggregation factory for unweighted mean.
class UnweightedReservoirSamplingFactory: An
UnweightedAggregationFactory for reservoir sampling values.
AggregationFactory to report additional measurements.
as_weighted_aggregator(...): Constructs a weighted wrapper for an unweighted aggregation factory.
clipping_factory(...): Creates an aggregation factory to perform L2 clipping.
concat_factory(...): Aggregation factory for concatenation of input to a single tensor.
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.