Skip to content

Commit aa8fe22

Browse files
author
Beat Buesser
committed
Remove self
Signed-off-by: Beat Buesser <[email protected]>
1 parent a7045b1 commit aa8fe22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/defences/preprocessor/preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def __call__(self, x: np.ndarray, y: Optional[np.ndarray] = None) -> Tuple[np.nd
277277
def estimate_gradient(self, x: np.ndarray, grad: np.ndarray) -> np.ndarray:
278278
import tensorflow as tf # lgtm [py/repeated-import]
279279

280-
def get_gradient(self, x: np.ndarray, grad: np.ndarray) -> np.ndarray:
280+
def get_gradient(x: np.ndarray, grad: np.ndarray) -> np.ndarray:
281281
"""
282282
Helper function for estimate_gradient
283283
"""

0 commit comments

Comments
 (0)