Skip to content

Commit b52b94d

Browse files
author
Beat Buesser
committed
PEP8
Signed-off-by: Beat Buesser <[email protected]>
1 parent 58736af commit b52b94d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

art/defences/detector/evasion/detector.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ def save(self, filename: str, path: Optional[str] = None) -> None:
157157
self.detector.save(filename, path)
158158

159159

160-
class BinaryActivationDetector(ClassGradientsMixin, ClassifierMixin, LossGradientsMixin, NeuralNetworkMixin, BaseEstimator):
160+
class BinaryActivationDetector(
161+
ClassGradientsMixin, ClassifierMixin, LossGradientsMixin, NeuralNetworkMixin, BaseEstimator
162+
):
161163
"""
162164
Binary detector of adversarial samples coming from evasion attacks. The detector uses an architecture provided by
163165
the user and is trained on the values of the activations of a classifier at a given layer.

0 commit comments

Comments
 (0)