[IE][VPU]: Refactor vpu configs

pull/17993/head
Maksim Doronin 4 years ago
parent 949fe93d5a
commit 7fe87d9a5b
  1. 4
      modules/dnn/src/ie_ngraph.cpp

@ -684,7 +684,11 @@ void InfEngineNgraphNet::initPlugin(InferenceEngine::CNNNetwork& net)
}
std::map<std::string, std::string> config;
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));
#endif
}
bool isHetero = device_name == "FPGA";

Loading…
Cancel
Save