Skip to content

Commit

Permalink
attack & defense: norm_diff_clipping - correct a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
han-shanshan committed Jul 2, 2022
1 parent fa87aee commit 5dfa014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fedml/core/security/test/test_norm_diff_clipping.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def test_norm_diff_clipping():
defense = NormDiffClipping(5.0)
local_w, global_w = create_fake_global_w_local_w_MNIST()
print(defense.defense(local_w, global_w))
print(defense.defend(local_w, global_w))


def test__get_clipped_norm_diff():
Expand Down

0 comments on commit 5dfa014

Please sign in to comment.