From 7a0f3fdd8d4e71ba638fa6528e3890b4d832b393 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Jan 2018 16:42:11 +0800 Subject: [PATCH] modify code style --- adversarial/advbox/attacks/gradientsign.py | 1 + 1 file changed, 1 insertion(+) diff --git a/adversarial/advbox/attacks/gradientsign.py b/adversarial/advbox/attacks/gradientsign.py index 33fd92e71b7..2d7a4450202 100644 --- a/adversarial/advbox/attacks/gradientsign.py +++ b/adversarial/advbox/attacks/gradientsign.py @@ -43,6 +43,7 @@ class IteratorGradientSignAttack(Attack): This attack was originally implemented by Alexey Kurakin(Google Brain). Paper link: https://arxiv.org/pdf/1607.02533.pdf """ + def _apply(self, image_label, epsilons=100, steps=10): """ Apply the iterative gradient sign attack. -- GitLab