Skip to content

Commit 39ccfe1

Browse files
Irina NicolaeIrina Nicolae
authored andcommitted
Add back lost code from classifier
(cherry picked from commit c59a57e)
1 parent a432049 commit 39ccfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/classifiers/classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ class Classifier(ABC):
1717
def __init__(self, clip_values, defences=None):
1818
"""
1919
Initialize a `Classifier` object.
20-
2120
:param clip_values: Tuple of the form `(min, max)` representing the minimum and maximum values allowed
2221
for features.
2322
:type clip_values: `tuple`
2423
"""
2524
self._clip_values = clip_values
25+
self._parse_defences(defences)
2626

2727
def predict(self, inputs, logits=False):
2828
"""

0 commit comments

Comments
 (0)