mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Removed get_output_as_single_output_node method
This commit is contained in:
parent
11eff8bae0
commit
5fd3d36fe8
@ -2225,7 +2225,9 @@ struct Net::Impl : public detail::NetImplBase
|
|||||||
|
|
||||||
auto ieInpNode = inputNodes[i].dynamicCast<InfEngineNgraphNode>();
|
auto ieInpNode = inputNodes[i].dynamicCast<InfEngineNgraphNode>();
|
||||||
CV_Assert(oid < ieInpNode->node->get_output_size());
|
CV_Assert(oid < ieInpNode->node->get_output_size());
|
||||||
#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_3)
|
#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
|
||||||
|
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node));
|
||||||
|
#elif INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_3)
|
||||||
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid)));
|
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid)));
|
||||||
#else
|
#else
|
||||||
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid, false)));
|
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid, false)));
|
||||||
|
Loading…
Reference in New Issue
Block a user