🐍 Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]c2044a2965fb
diff --git a/testing/__init__.py b/testing/__init__.pyindex ca20515e6..b851fe065 100644--- a/testing/__init__.py+++ b/testing/__init__.py@@ -1,4 +1,4 @@-# LICENSE HEADER MANAGED BY add-license-header+# LICENSE HEADER MANAGED BY add-license-header## Copyright 2018 Kornia Team#diff --git a/tests/morphology/test_bottom_hat.py b/tests/morphology/test_bottom_hat.pyindex 3e9b96a4b..66b958376 100644--- a/tests/morphology/test_bottom_hat.py+++ b/tests/morphology/test_bottom_hat.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (diff --git a/tests/morphology/test_closing.py b/tests/morphology/test_closing.pyindex d1c6daf8b..69abd024b 100644--- a/tests/morphology/test_closing.py+++ b/tests/morphology/test_closing.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (diff --git a/tests/morphology/test_dilation.py b/tests/morphology/test_dilation.pyindex 5bb01f14a..033005b10 100644--- a/tests/morphology/test_dilation.py+++ b/tests/morphology/test_dilation.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (diff --git a/tests/morphology/test_erosion.py b/tests/morphology/test_erosion.pyindex 4c83f29ba..a2254659c 100644--- a/tests/morphology/test_erosion.py+++ b/tests/morphology/test_erosion.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (diff --git a/tests/morphology/test_gradient.py b/tests/morphology/test_gradient.pyindex aba6604c9..001ac29c4 100644--- a/tests/morphology/test_gradient.py+++ b/tests/morphology/test_gradient.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (diff --git a/tests/morphology/test_opening.py b/tests/morphology/test_opening.pyindex ceacec5b1..bc079e1fb 100644--- a/tests/morphology/test_opening.py+++ b/tests/morphology/test_opening.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (diff --git a/tests/morphology/test_top_hat.py b/tests/morphology/test_top_hat.pyindex c9b4aec67..950964763 100644--- a/tests/morphology/test_top_hat.py+++ b/tests/morphology/test_top_hat.py@@ -25,7 +25,10 @@ from testing.parametrized_tester import parametrized_test@parametrized_test(- smoke_inputs=lambda device, dtype: (torch.rand(1, 3, 4, 4, device=device, dtype=dtype), torch.ones((3, 3), device=device, dtype=dtype)),+ smoke_inputs=lambda device, dtype: (+ torch.rand(1, 3, 4, 4, device=device, dtype=dtype),+ torch.ones((3, 3), device=device, dtype=dtype),+ ),cardinality_tests=[{"inputs": lambda device, dtype: (