Skip to content

Commit 766bad0

Browse files
authored
Merge pull request opencv#26053 from alexlyulkov:al/opencl-conformance-tests
DNN(ONNX): Enabled several OpenCL conformance tests opencv#26053 The tests also work in 5.x ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
1 parent 18117cf commit 766bad0

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

modules/dnn/test/test_onnx_conformance_layer_filter_opencv_ocl_fp16_denylist.inl.hpp

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,16 @@
22
"test_dequantizelinear",
33
"test_dequantizelinear_axis",
44
"test_dequantizelinear_blocked",
5-
"test_dropout_default_ratio",
6-
"test_globalmaxpool",
7-
"test_globalmaxpool_precomputed",
85
"test_logsoftmax_large_number",
96
"test_logsoftmax_large_number_expanded",
10-
"test_maxpool_1d_default",
11-
"test_maxpool_2d_ceil",
12-
"test_maxpool_2d_default",
13-
"test_maxpool_2d_pads",
14-
"test_maxpool_2d_precomputed_pads",
15-
"test_maxpool_2d_precomputed_same_upper",
16-
"test_maxpool_2d_precomputed_strides",
17-
"test_maxpool_2d_same_upper",
18-
"test_maxpool_2d_strides",
197
"test_maxpool_3d_default",
208
"test_pow",
219
"test_quantizelinear",
2210
"test_quantizelinear_axis",
2311
"test_quantizelinear_blocked",
2412
"test_softmax_large_number",
2513
"test_softmax_large_number_expanded",
26-
"test_split_equal_parts_1d",
27-
"test_split_equal_parts_2d",
28-
"test_split_equal_parts_default_axis",
2914
"test_tan",
30-
"test_reduce_l2_default_axes_keepdims_example", // Expected: (normL1) <= (l1), actual: 0.00490189 vs 0.004
31-
"test_reduce_log_sum_exp_default_axes_keepdims_example", // Expected: (normL1) <= (l1), actual: 0.00671387 vs 0.004
3215
"test_reduce_prod_default_axes_keepdims_example", // Expected: (normL1) <= (l1), actual: inf vs 0.004
3316
"test_reduce_prod_default_axes_keepdims_random", // Expected: (normL1) <= (l1), actual: 18.6621 vs 0.004, Expected: (normInf) <= (lInf), actual: 18.6621 vs 0.02
3417
"test_reduce_prod_do_not_keepdims_random", // Expected: (normL1) <= (l1), actual: 0.00436729 vs 0.004, Expected: (normInf) <= (lInf), actual: 0.0201836 vs 0.02
@@ -38,16 +21,3 @@
3821
"test_reduce_sum_square_do_not_keepdims_random", // Expected: (normL1) <= (l1), actual: 0.010789 vs 0.004, Expected: (normInf) <= (lInf), actual: 0.0290298 vs 0.02
3922
"test_reduce_sum_square_keepdims_random", // Expected: (normL1) <= (l1), actual: 0.010789 vs 0.004, Expected: (normInf) <= (lInf), actual: 0.0290298 vs 0.02
4023
"test_reduce_sum_square_negative_axes_keepdims_random", // Expected: (normL1) <= (l1), actual: 0.010789 vs 0.004, Expected: (normInf) <= (lInf), actual: 0.0290298 vs 0.02
41-
"test_scatter_elements_with_axis",
42-
"test_scatter_elements_with_duplicate_indices",
43-
"test_scatter_elements_with_negative_indices",
44-
"test_scatter_elements_with_reduction_max",
45-
"test_scatter_elements_with_reduction_min",
46-
"test_scatter_elements_without_axis",
47-
"test_scatter_with_axis",
48-
"test_scatter_without_axis",
49-
"test_scatternd",
50-
"test_scatternd_add",
51-
"test_scatternd_max",
52-
"test_scatternd_min",
53-
"test_scatternd_multiply",

modules/dnn/test/test_onnx_conformance_layer_filter_opencv_ocl_fp32_denylist.inl.hpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,3 @@
66
"test_quantizelinear",
77
"test_quantizelinear_axis",
88
"test_quantizelinear_blocked",
9-
"test_scatter_elements_with_axis",
10-
"test_scatter_elements_with_duplicate_indices",
11-
"test_scatter_elements_with_negative_indices",
12-
"test_scatter_elements_with_reduction_max",
13-
"test_scatter_elements_with_reduction_min",
14-
"test_scatter_elements_without_axis",
15-
"test_scatter_with_axis",
16-
"test_scatter_without_axis",
17-
"test_scatternd",
18-
"test_scatternd_add",
19-
"test_scatternd_max",
20-
"test_scatternd_min",
21-
"test_scatternd_multiply",

0 commit comments

Comments
 (0)