File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2113,7 +2113,9 @@ struct Net::Impl : public detail::NetImplBase
2113
2113
2114
2114
auto ieInpNode = inputNodes[i].dynamicCast <InfEngineNgraphNode>();
2115
2115
CV_Assert (oid < ieInpNode->node ->get_output_size ());
2116
- #if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_3)
2116
+ #if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
2117
+ inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode (ieInpNode->node ));
2118
+ #elif INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_3)
2117
2119
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode (ieInpNode->node ->get_output_as_single_output_node (oid)));
2118
2120
#else
2119
2121
inputNodes[i] = Ptr<BackendNode>(new InfEngineNgraphNode (ieInpNode->node ->get_output_as_single_output_node (oid, false )));
You can’t perform that action at this time.
0 commit comments