Class - FedCurvWeightedAverage#

class openfl.interface.aggregation_functions.fedcurv_weighted_average.FedCurvWeightedAverage(*args, **kwargs)[source]#

Bases: WeightedAverage

Aggregation function of FedCurv algorithm.

Applies weighted average aggregation to all tensors except Fisher matrices variables (u_t, v_t). These variables are summed without weights.

FedCurv paper: https://arxiv.org/pdf/1910.07796.pdf

__init__()[source]#

Initialize common AggregationFunction params.

Default: Read only access to TensorDB

Methods

__init__()

Initialize common AggregationFunction params.

call(local_tensors, tensor_db, tensor_name, ...)

Apply aggregation.

call(local_tensors, tensor_db, tensor_name, fl_round, tags)[source]#

Apply aggregation.