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 1e0f824 commit a7b5c93Copy full SHA for a7b5c93
art/defences/preprocessor/spatial_smoothing_pytorch.py
@@ -72,7 +72,6 @@ def __init__(
72
:param apply_predict: True if applied during predicting.
73
:param device_type: Type of device on which the classifier is run, either `gpu` or `cpu`.
74
"""
75
- import torch # lgtm [py/repeated-import]
76
77
super().__init__(
78
device_type=device_type,
0 commit comments