Skip to content

Commit

Permalink
fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Rauber committed Oct 23, 2019
1 parent 9cbc60c commit f0a5825
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/additive_noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .base import Attack
from .base import call_decorator
from .. import nprng
from ... import nprng


class AdditiveNoiseAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/blended_noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from .base import Attack
from .base import call_decorator
from .. import nprng
from ... import nprng


class BlendedUniformNoiseAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/iterative_projected_gradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .base import call_decorator
from .. import distances
from ..utils import crossentropy
from .. import nprng
from ... import nprng
from ..optimizers import AdamOptimizer
from ..optimizers import GDOptimizer

Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/lbfgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .base import call_decorator
from .gradient import GradientAttack
from ..utils import crossentropy as utils_ce
from .. import rng
from ... import rng


class LBFGSAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/localsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .base import Attack
from .base import call_decorator
from ..utils import softmax
from .. import nprng
from ... import nprng


class SinglePixelAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/pointwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .base import Attack
from .base import call_decorator
from .saltandpepper import SaltAndPepperNoiseAttack
from .. import rng
from ... import rng


class PointwiseAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/saliency.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .base import Attack
from .base import call_decorator
from .gradient import GradientAttack
from .. import rng
from ... import rng


class SaliencyMapAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/saltandpepper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .base import Attack
from .base import call_decorator
from .. import nprng
from ... import nprng


class SaltAndPepperNoiseAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/slsqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .base import Attack
from .base import call_decorator
from .. import nprng
from ... import nprng


class SLSQPAttack(Attack):
Expand Down
2 changes: 1 addition & 1 deletion foolbox/v1/attacks/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .base import Attack
from .base import call_decorator
from .. import nprng
from ... import nprng


class SpatialAttack(Attack):
Expand Down

0 comments on commit f0a5825

Please sign in to comment.