From 4507369ddaf31fb5acaf7a3c300dec5604aa9dfe Mon Sep 17 00:00:00 2001 From: Kyle Matoba <22180455+kylematoba@users.noreply.github.com> Date: Sun, 26 Dec 2021 15:00:40 +0000 Subject: [PATCH] Make FGM work for exotic dtypes. Some black-ing, pep8-ing. Fix broken test. --- cleverhans/torch/tests/test_attacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cleverhans/torch/tests/test_attacks.py b/cleverhans/torch/tests/test_attacks.py index 3bed072d1..9b3caf8e8 100644 --- a/cleverhans/torch/tests/test_attacks.py +++ b/cleverhans/torch/tests/test_attacks.py @@ -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,