Skip to content

Commit 01f75c3

Browse files
author
Beat Buesser
committed
Fix LGTM alerts
Signed-off-by: Beat Buesser <[email protected]>
1 parent c415d40 commit 01f75c3

File tree

1 file changed

+3
-1
lines changed
  • art/estimators/certification/randomized_smoothing

1 file changed

+3
-1
lines changed

art/estimators/certification/randomized_smoothing/numpy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
logger = logging.getLogger(__name__)
3737

3838

39-
class NumpyRandomizedSmoothing(RandomizedSmoothingMixin, ClassGradientsMixin, ClassifierMixin, BaseEstimator):
39+
class NumpyRandomizedSmoothing(
40+
RandomizedSmoothingMixin, ClassGradientsMixin, ClassifierMixin, BaseEstimator # lgtm [py/missing-call-to-init]
41+
):
4042
"""
4143
Implementation of Randomized Smoothing applied to classifier predictions and gradients, as introduced
4244
in Cohen et al. (2019).

0 commit comments

Comments
 (0)