8cc2345931fd07b32b7e4bb7e8f88b62d2224117,tests_pytorch/test_attacks.py,TestProjectedGradientMethod,test_adv_example_success_rate_l1,#TestProjectedGradientMethod#,157
Before Change
def test_adv_example_success_rate_l1(self):
try:
self.help_adv_examples_success_rate(
ord=1, eps=.5, clip_min=-5, clip_max=5, eps_iter=.05, nb_iter=20)
except NotImplementedError:
raise SkipTest()
def test_targeted_adv_example_success_rate_l1(self):
After Change
def test_adv_example_success_rate_l1(self):
try:
self.help_adv_examples_success_rate(
ord=1, **self.attack_param)
except NotImplementedError:
raise SkipTest()
def test_targeted_adv_example_success_rate_l1(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/cleverhans
Commit Name: 8cc2345931fd07b32b7e4bb7e8f88b62d2224117
Time: 2019-05-06
Author: michaelshiyu3@gmail.com
File Name: tests_pytorch/test_attacks.py
Class Name: TestProjectedGradientMethod
Method Name: test_adv_example_success_rate_l1
Project Name: tensorflow/cleverhans
Commit Name: 8f40cea099e58ed670d6ba66dbffbca0c7399584
Time: 2019-04-30
Author: michaelshiyu3@gmail.com
File Name: tests_pytorch/test_attacks.py
Class Name: TestProjectedGradientMethod
Method Name: test_adv_example_success_rate_l1
Project Name: tensorflow/cleverhans
Commit Name: 8cc2345931fd07b32b7e4bb7e8f88b62d2224117
Time: 2019-05-06
Author: michaelshiyu3@gmail.com
File Name: tests_pytorch/test_attacks.py
Class Name: TestProjectedGradientMethod
Method Name: test_adv_example_success_rate_l2