Auto FOE Function
Details about the Auto FOE attack method.
def auto_FOE(honest_vectors, aggregator, nb_byz):
...
return fall_of_empires(honest_vectors, attack_factor=best_factor)
Inputs
honest_vectors: list - List of honest vectors for processing.
aggregator: function - The function used for aggregation.
nb_byz: int - Number of Byzantine nodes.
Outputs
torch.Tensor - The processed Tensor after applying the Auto FOE attack.