Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

fix filter size

Dmytro Mishkina0126a52d834
diff --git a/test/filters/test_filters.py b/test/filters/test_filters.py
index b8cbd2b99..db88bb746 100644
--- a/test/filters/test_filters.py
+++ b/test/filters/test_filters.py
@@ -76,7 +76,7 @@ class TestFilter2D:
assert_allclose(actual, expected)
def test_even_sized_filter(self, device):
- kernel = torch.ones(1, 4, 4).to(device)
+ kernel = torch.ones(1, 2, 2).to(device)
input = torch.tensor([[[
[0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0.],