Skip to content

Commit

Permalink
Make FGM work for exotic dtypes. Some black-ing, pep8-ing. Fix broken…
Browse files Browse the repository at this point in the history
… test.
  • Loading branch information
kylematoba committed Dec 26, 2021
1 parent d6f4214 commit 4507369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cleverhans/torch/tests/test_attacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ def test_clips(self):
if norm == 1:
self.assertRaises(
NotImplementedError,
self.attack,
model_fn=self.model,
x=self.normalized_x,
eps=0.3,
Expand Down

0 comments on commit 4507369

Please sign in to comment.