Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Remove check_equal_numpy test

Pau Riba430e339b8f1c
diff --git a/kornia/testing/__init__.py b/kornia/testing/__init__.py
index 40b397369..aaa66a15c 100644
--- a/kornia/testing/__init__.py
+++ b/kornia/testing/__init__.py
@@ -49,7 +49,3 @@ def compute_patch_error(x, y, h, w):
def check_equal_torch(a, b, eps=1e-4):
return (torch.norm(a - b) <= (a.numel() * eps)).item()
-
-
-def check_equal_numpy(a, b):
- return np.linalg.norm(a - b) <= (a.size * np.finfo(np.float32).eps)