Disable auto fusing in ie backend
authorAnatoliy Talamanov <anatoliy.talamanov@intel.com>
Wed, 12 May 2021 06:02:17 +0000 (09:02 +0300)
committerAnatoliy Talamanov <anatoliy.talamanov@intel.com>
Wed, 12 May 2021 06:02:17 +0000 (09:02 +0300)
modules/gapi/src/backends/ie/giebackend.cpp

index 1cd3285441af4f31787e7ae822607e6429aacb20..bf5d458af4cfaa868a2854085e3d8ec4c0e5f48d 100644 (file)
@@ -1290,6 +1290,17 @@ namespace {
                                     , cv::gimpl::ie::InferList2
                                     >();
         }
+
+        virtual bool controlsMerge() const override {
+            return true;
+        }
+
+        virtual bool allowsMerge(const cv::gimpl::GIslandModel::Graph &,
+                                 const ade::NodeHandle &,
+                                 const ade::NodeHandle &,
+                                 const ade::NodeHandle &) const override {
+            return false;
+        }
     };
 }