opencv/modules
rogday ed69bcae2d
Merge pull request #21865 from rogday:nary_eltwise_layers
Reimplementation of Element-wise layers with broadcasting support

* init

* semi-working initial version

* add small_vector

* wip

* remove smallvec

* add nary function

* replace auto with Mat in lambda expr used in transform

* uncomment asserts

* autobuffer shape_buf & step_buf

* fix a missing bracket

* fixed a missing addLayer in parseElementWise

* solve one-dimensional broadcast

* remove pre_broadcast_transform for the case of two constants; fix missing constBlobsExtraInfo when addConstant is called

* one autobuffer for step & shape

* temporal fix for the missing original dimension information

* fix parseUnsqueeze when it gets a 1d tensor constant

* support sum/mean/min/max with only one input

* reuse old code to handle cases of two non-constant inputs

* add condition to handle div & mul of two non-constant inputs

* use || instead of or

* remove trainling spaces

* enlarge buf in binary_forward to contain other buffer

* use autobuffer in nary_forward

* generate data randomly and add more cases for perf

* add op and, or & xor

* update perf_dnn

* remove some comments

* remove legacy; add two ONNX conformance tests in filter

* move from cpu_denylist to all_denylist

* adjust parsing for inputs>=2

Co-authored-by: fengyuentau <yuantao.feng@opencv.org.cn>
2022-07-19 06:14:05 +03:00
..
calib3d Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-06-26 14:22:24 +00:00
core Merge pull request #22102 from jwinarske:jw/xdg_shell 2022-07-04 22:59:29 +00:00
dnn Merge pull request #21865 from rogday:nary_eltwise_layers 2022-07-19 06:14:05 +03:00
features2d remove const from functions returning by value 2022-05-26 21:30:41 +09:00
flann Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-06-04 19:10:35 +00:00
gapi remove const from functions returning by value 2022-05-26 21:30:41 +09:00
highgui correct an issue of trackbar on macOS 2022-07-15 22:02:02 +02:00
imgcodecs Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-06-26 14:22:24 +00:00
imgproc Merge pull request #22149 from seanm:sprintf 2022-06-25 06:48:22 +03:00
java Update CameraBridgeViewBase error message 2022-03-22 15:40:23 -04:00
js Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-05-14 11:23:21 +00:00
ml Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-05-14 11:23:21 +00:00
objc Objective-C wrapper header fix-ups to avoid clashes with system macros 2022-03-20 18:47:26 +09:00
objdetect Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-06-04 19:10:35 +00:00
photo Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-03-05 19:46:28 +00:00
python Merge pull request #22149 from seanm:sprintf 2022-06-25 06:48:22 +03:00
stitching Update doc 2022-07-01 13:33:05 +02:00
ts Merge pull request #22149 from seanm:sprintf 2022-06-25 06:48:22 +03:00
video Merge pull request #22149 from seanm:sprintf 2022-06-25 06:48:22 +03:00
videoio Define STRSAFE_NO_DEPRECATE for both clang and gcc mingw-w64 2022-07-15 18:01:15 +07:00
world vtk 9.0 autoinit fix 2021-05-18 10:20:54 +03:00