Merge pull request #20605 from rogday:split_slice_shenanigans
authorrogday <s.e.a.98@yandex.ru>
Thu, 9 Sep 2021 11:41:40 +0000 (14:41 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 11:41:40 +0000 (14:41 +0300)
commit4807cd8a6eeaa494a76df435679ccc3b9e6545e6
tree986bd3c0855fb475563ca30027cdd93f13ef21f3
parent1e0d290f2edf70bc894bffacb84522cc4810ff34
Merge pull request #20605 from rogday:split_slice_shenanigans

Add Normalize subgraph, fix Slice, Mul and Expand

* Add Normalize subgraph, support for starts<0 and axis<0 in Slice, Mul broadcasting in the middle and fix Expand's unsqueeze

* remove todos

* remove range-based for loop

* address review comments

* change >> to > > in template

* fix indexation

* fix expand that does nothing
modules/dnn/src/layers/slice_layer.cpp
modules/dnn/src/onnx/onnx_graph_simplifier.cpp
modules/dnn/src/onnx/onnx_importer.cpp
modules/dnn/test/test_onnx_importer.cpp