Skip to content

Commit

Permalink
[IE][VPU]: Fix for crash in Myriad plugin during LoadNetwork with Het…
Browse files Browse the repository at this point in the history
…ero plugin (#5222)
  • Loading branch information
Polina Brzezinskaya authored May 6, 2021
1 parent 5bd6343 commit a411af1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions inference-engine/src/vpu/common/src/ngraph/query_network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,11 @@ InferenceEngine::QueryNetworkResult getQueryNetwork(const InferenceEngine::CNNNe
}
}

for (const auto& layerName : supported) {
for (const auto& layerName : unsupported) {
if (supported.empty()) {
break;
}
if (InferenceEngine::details::contains(unsupported, layerName)) {
supported.erase(layerName);
}
supported.erase(layerName);
}

unsupported.clear();
Expand Down

0 comments on commit a411af1

Please sign in to comment.