Skip to content

Commit 96957a1

Browse files
author
Beat Buesser
committed
Add missing update for BaseEstimator.preprocessing
Signed-off-by: Beat Buesser <[email protected]>
1 parent f18eaf1 commit 96957a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/estimators/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _set_preprocessing_defences(self, preprocessing_defences):
106106
from art.defences.preprocessor.preprocessor import Preprocessor
107107

108108
if preprocessing_defences is None:
109-
pass
109+
self.preprocessing = [self._preprocessing_argument]
110110
elif isinstance(preprocessing_defences, Preprocessor):
111111
self.preprocessing = [preprocessing_defences] + [self._preprocessing_argument]
112112
else:

0 commit comments

Comments
 (0)