Merge pull request #18518 from alalek:backport_17993
This commit is contained in:
commit
a5f0fb6008
@ -684,7 +684,11 @@ void InfEngineNgraphNet::initPlugin(InferenceEngine::CNNNetwork& net)
|
|||||||
}
|
}
|
||||||
std::map<std::string, std::string> config;
|
std::map<std::string, std::string> config;
|
||||||
if (device_name == "MYRIAD") {
|
if (device_name == "MYRIAD") {
|
||||||
|
#if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2020_4)
|
||||||
|
config.emplace("MYRIAD_DETECT_NETWORK_BATCH", CONFIG_VALUE(NO));
|
||||||
|
#else
|
||||||
config.emplace("VPU_DETECT_NETWORK_BATCH", CONFIG_VALUE(NO));
|
config.emplace("VPU_DETECT_NETWORK_BATCH", CONFIG_VALUE(NO));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isHetero = device_name == "FPGA";
|
bool isHetero = device_name == "FPGA";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user