opencv/modules/dnn/test
Yuantao Feng 4d918ba40b
Merge pull request #23047 from fengyuentau:layer_norm
dnn: add layer normalization for vision transformers

* add layer norm onnx parser, impl and tests

* add onnx graph simplifier for layer norm expanded

* handle the case when constants are of type Initializer

* add test case for layer norm expanded with initializers

* use CV_Assert & CV_CheckType in place of CV_Assert_N; use forward_fallback for OCL_FP16

* use const ref / ref in parameters of invoker::run; extract inner const if from nested loop; use size_t in place of ull

* template hasBias

* remove trailing whitespace

* use pointer parameter with null check; move normSize division & mean_square division outside of loop; use std::max to ensure positive value before std::sqrt

* refactor implementation, optimize parallel_for

* disable layer norm expanded

* remove the removal of layer norm optional outputs
2023-01-27 16:35:59 +03:00
..
cityscapes_semsegm_test_enet.py
imagenet_cls_test_alexnet.py
imagenet_cls_test_googlenet.py
imagenet_cls_test_inception.py fix 4.x links 2021-12-22 13:24:30 +00:00
npy_blob.cpp
npy_blob.hpp
pascal_semsegm_test_fcn.py Remove references to deprecated NumPy type aliases. 2022-12-23 13:53:49 +03:00
test_backends.cpp Merge pull request #22957 from dkurt:new_openvino_api 2022-12-23 16:58:41 +00:00
test_caffe_importer.cpp Merge pull request #22957 from dkurt:new_openvino_api 2022-12-23 16:58:41 +00:00
test_common.cpp
test_common.hpp dnn: add the CANN backend (#22634) 2022-12-21 09:04:41 +03:00
test_common.impl.hpp dnn: add the CANN backend (#22634) 2022-12-21 09:04:41 +03:00
test_darknet_importer.cpp Merge pull request #22957 from dkurt:new_openvino_api 2022-12-23 16:58:41 +00:00
test_googlenet.cpp
test_halide_layers.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-12-03 12:39:41 +00:00
test_ie_models.cpp Merge pull request #22957 from dkurt:new_openvino_api 2022-12-23 16:58:41 +00:00
test_int8_layers.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2023-01-23 00:11:12 +00:00
test_layers.cpp Merge pull request #22957 from dkurt:new_openvino_api 2022-12-23 16:58:41 +00:00
test_main.cpp
test_misc.cpp Merge pull request #21884 from rogday:cuda_cleanup 2022-04-19 16:40:25 +00:00
test_model.cpp Merge pull request #22957 from dkurt:new_openvino_api 2022-12-23 16:58:41 +00:00
test_nms.cpp batched nms impl 2022-11-29 15:32:34 +08:00
test_onnx_conformance_layer_filter__cuda_denylist.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance_layer_filter__halide_denylist.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance_layer_filter__openvino.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance_layer_filter__vulkan_denylist.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance_layer_filter_opencv_all_denylist.inl.hpp Merge pull request #21865 from rogday:nary_eltwise_layers 2022-07-19 06:14:05 +03:00
test_onnx_conformance_layer_filter_opencv_cpu_denylist.inl.hpp Merge pull request #21865 from rogday:nary_eltwise_layers 2022-07-19 06:14:05 +03:00
test_onnx_conformance_layer_filter_opencv_ocl_fp16_denylist.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance_layer_filter_opencv_ocl_fp32_denylist.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance_layer_parser_denylist.inl.hpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_conformance.cpp implementation of scatter and scatternd with conformance tests enabled 2022-10-17 11:30:32 +08:00
test_onnx_importer.cpp Merge pull request #23047 from fengyuentau:layer_norm 2023-01-27 16:35:59 +03:00
test_precomp.hpp
test_tf_importer.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-12-03 12:39:41 +00:00
test_torch_importer.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-12-03 12:39:41 +00:00