Skip to content

Commit 1e0f824

Browse files
committed
Remove unused imports
Signed-off-by: Nilaksh Das <[email protected]>
1 parent 5c84b3a commit 1e0f824

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

art/defences/preprocessor/mp3_compression_pytorch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def __init__(
6464
:param device_type: Type of device on which the classifier is run, either `gpu` or `cpu`.
6565
:param verbose: Show progress bars.
6666
"""
67-
import torch # lgtm [py/repeated-import]
6867
from torch.autograd import Function
6968

7069
super().__init__(

art/defences/preprocessor/video_compression_pytorch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def __init__(
7070
:param device_type: Type of device on which the classifier is run, either `gpu` or `cpu`.
7171
:param verbose: Show progress bars.
7272
"""
73-
import torch # lgtm [py/repeated-import]
7473
from torch.autograd import Function
7574

7675
super().__init__(

art/preprocessing/audio/l_filter/pytorch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def __init__(
7171
:param verbose: Show progress bars.
7272
:param device_type: Type of device on which the classifier is run, either `gpu` or `cpu`.
7373
"""
74-
import torch # lgtm [py/repeated-import]
7574

7675
super().__init__(
7776
device_type=device_type,

art/preprocessing/standardisation_mean_std/pytorch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def __init__(
5454
:param mean: Mean.
5555
:param std: Standard Deviation.
5656
"""
57-
import torch # lgtm [py/repeated-import]
5857

5958
super().__init__(
6059
device_type=device_type,

0 commit comments

Comments
 (0)