Fall of Empires Function

Details about the Fall of Empires attack method.


                def fall_of_empires(honest_vectors, attack_factor=3, negative=False):
                    if negative:
                        attack_factor = - attack_factor
                    return torch.stack(honest_vectors).mean(dim=0).mul(1 - attack_factor)
                

Inputs

Outputs