We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c8da17 commit 9aa84adCopy full SHA for 9aa84ad
1 file changed
tests/test_kornia.py
@@ -7,7 +7,7 @@
7
class TestKornia(unittest.TestCase):
8
def test_imread_opencv(self):
9
img = cv2.imread('/input/tests/data/dot.png')
10
- img_t = kornia.utils.image_to_tensor(img)
+ img_t = kornia.image.image_to_tensor(img)
11
12
self.assertEqual(img.shape, (1, 1, 3))
13
self.assertEqual(img_t.shape, (3, 1, 1))
0 commit comments