Revert query_model logic
This commit is contained in:
1 parent
2b3c0696de
commit
b694cd6999
1 file changed
+4
@@ -136,6 +136,10 @@ InferenceEngine::QueryNetworkResult ov::CoreImpl::QueryNetwork(const InferenceEn
|
||||
return ret;
|
||||
}
|
||||
auto res = query_model(network.getFunction(), deviceName, any_copy(config));
|
||||
if (res.empty()) {
|
||||
ret.rc = InferenceEngine::GENERAL_ERROR;
|
||||
return ret;
|
||||
}
|
||||
ret.supportedLayersMap = res;
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in new issue
Block a user