From 16681d1080928d31645d94ede6ce524fa8d6f177 Mon Sep 17 00:00:00 2001 From: MuZihao Date: Wed, 16 Aug 2023 09:34:59 +0800 Subject: [PATCH] fix the issue in layer fused --- modules/dnn/src/net_impl_fuse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/src/net_impl_fuse.cpp b/modules/dnn/src/net_impl_fuse.cpp index 4570d2b36082..dfa542bd4184 100644 --- a/modules/dnn/src/net_impl_fuse.cpp +++ b/modules/dnn/src/net_impl_fuse.cpp @@ -210,7 +210,7 @@ void Net::Impl::fuseLayers(const std::vector& blobsToKeep_) if (!nextData->params.has("operation") || toLowerCase(nextData->params.get("operation")) != "add") { CV_LOG_DEBUG(NULL, "DNN/CPU: fusion with NaryEltwise or Eltwise Layer operation is not supported: " - << nextData->params.get("operation")); + << toLowerCase(nextData->params.get("operation", "sum"))); break; }