1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Flexible inputs for OpenVINO IR models

This commit is contained in:
Dmitry Kurtaev
2020-04-18 19:42:48 +03:00
parent e59e978fcd
commit 908bf935f7
6 changed files with 62 additions and 0 deletions
+7
View File
@@ -891,6 +891,13 @@ bool InfEngineBackendNet::isInitialized()
#endif
}
void InfEngineBackendNet::reset()
{
allBlobs.clear();
infRequests.clear();
isInit = false;
}
void InfEngineBackendNet::addBlobs(const std::vector<cv::Ptr<BackendWrapper> >& ptrs)
{
auto wrappers = infEngineWrappers(ptrs);