Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 5fd3d36

Browse files
committed
Removed get_output_as_single_output_node method
1 parent 11eff8b commit 5fd3d36

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

modules/dnn/src/dnn.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,9 @@ struct Net::Impl : public detail::NetImplBase
22252225

22262226
auto ieInpNode = inputNodes[i].dynamicCast<InfEngineNgraphNode>();
22272227
CV_Assert(oid < ieInpNode->node->get_output_size());
2228-
#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_3)
2228+
#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
2229+
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node));
2230+
#elif INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_3)
22292231
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid)));
22302232
#else
22312233
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid, false)));

0 commit comments

Comments
 (0)