Skip to content

Commit dc0edb9

Browse files
committed
Fixing imports.
1 parent 6655dac commit dc0edb9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/test_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import os
33
from abc import ABC, abstractmethod
44
from functools import lru_cache
5-
from functools import lru_cache
6-
from typing import Tuple
75
from typing import Tuple
86

97
import numpy as np
108
import pytest
119
import torch
10+
from common_utils import needs_cuda, cpu_and_gpu, assert_equal
11+
from PIL import Image
1212
from torch import nn, Tensor
1313
from torch.autograd import gradcheck
1414
from torch.nn.modules.utils import _pair

torchvision/ops/_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from typing import List, Union
21
from typing import List, Optional, Tuple, Union
32

43
import torch

0 commit comments

Comments
 (0)