Skip to content

Commit

Permalink
[VPU]Fix for crash in Myriad plugin during LoadNetwork with Hetero pl…
Browse files Browse the repository at this point in the history
…ugin
  • Loading branch information
Polina committed May 4, 2021
1 parent 29a8be5 commit ca4c3c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inference-engine/src/vpu/common/src/ngraph/query_network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +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)) {
if (InferenceEngine::details::contains(supported, layerName)) {
supported.erase(layerName);
}
}
Expand Down

0 comments on commit ca4c3c1

Please sign in to comment.