We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a432049 commit 39ccfe1Copy full SHA for 39ccfe1
art/classifiers/classifier.py
@@ -17,12 +17,12 @@ class Classifier(ABC):
17
def __init__(self, clip_values, defences=None):
18
"""
19
Initialize a `Classifier` object.
20
-
21
:param clip_values: Tuple of the form `(min, max)` representing the minimum and maximum values allowed
22
for features.
23
:type clip_values: `tuple`
24
25
self._clip_values = clip_values
+ self._parse_defences(defences)
26
27
def predict(self, inputs, logits=False):
28
0 commit comments