Stay organized with collections Save and categorize content based on your preferences.

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.