dnn: fix ReduceLayer implementation, update OpenVINO tests

This commit is contained in:
Alexander Alekhin
2022-03-30 11:06:18 +00:00
parent c9b90884da
commit 6f5cf8c15f
3 changed files with 96 additions and 13 deletions
+1
View File
@@ -25,6 +25,7 @@ class ReduceLayerImpl CV_FINAL : public ReduceLayer
public:
ReduceLayerImpl(const LayerParams& params)
{
setParamsFrom(params);
// set reduce type
CV_Assert(params.has("reduce"));
String typeString = toLowerCase(params.get<String>("reduce"));