Merge pull request #15032 from l-bat:reduce_mean
authorLubov Batanina <piccione-mail@yandex.ru>
Fri, 19 Jul 2019 16:18:34 +0000 (19:18 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Fri, 19 Jul 2019 16:18:34 +0000 (19:18 +0300)
commit781f4d439e1c8d10595b7c32a2d71752bb869f9d
tree13e379417704ccd7649ef8c175c2f455f4d4df63
parenta8a71eb20033ec2b75e36d520db211e630f38993
Merge pull request #15032 from l-bat:reduce_mean

* Added support for the ONNX "ReduceMean" Layer. (as this is the same as the GlobalAveragePool)

* Add ReduceMean test

* Fix ONNX importer

* Fix ReduceMean

* Add assert

* Split test

* Fix split test
modules/dnn/src/dnn.cpp
modules/dnn/src/layers/layers_common.cpp
modules/dnn/src/onnx/onnx_importer.cpp
modules/dnn/test/test_onnx_importer.cpp
modules/dnn/test/test_tf_importer.cpp