Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand


Constructs a weighted wrapper for an unweighted aggregation factory.

The returned tff.aggregators.WeightedAggregationFactory has the same functionality as the provided unweighted_aggregator, ignoring the provided weights. This is useful when converting unweighted aggregator to a weighted aggregator which is "always uniformly weighted".

unweighted_aggregator A tff.aggregators.UnweightedAggregationFactory.

A tff.aggregators.WeightedAggregationFactory.