Hetero KW warning fix (#3107)

This commit is contained in:
Anton Pankratv 2020-11-13 10:53:31 +03:00 committed by GitHub
parent 4a362bddc5
commit 95be0aa638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,7 @@ InferenceEngine::ExecutableNetworkInternal::Ptr Engine::LoadExeNetworkImpl(const
});
if (!allSupportsNgraph) {
auto cnnNetworkImpl = std::make_shared<details::CNNNetworkImpl>(network);
IE_ASSERT(cnnNetworkImpl != nullptr);
return std::make_shared<HeteroExecutableNetwork>(
*cnnNetworkImpl, mergeConfigs(_config, config), this);
} else {