mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
committed by
Alexander Alekhin
parent
4d34934d25
commit
776586fb08
@@ -2228,7 +2228,11 @@ struct Net::Impl
|
||||
|
||||
auto ieInpNode = inputNodes[i].dynamicCast<InfEngineNgraphNode>();
|
||||
CV_Assert(oid < ieInpNode->node->get_output_size());
|
||||
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid/*, false*/)));
|
||||
#if INF_ENGINE_VER_MAJOR_GT(2020030000)
|
||||
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid)));
|
||||
#else
|
||||
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode(ieInpNode->node->get_output_as_single_output_node(oid, false)));
|
||||
#endif
|
||||
}
|
||||
|
||||
if (layer->supportBackend(preferableBackend))
|
||||
|
||||
Reference in New Issue
Block a user