{
SCOPED_TRACE("runIE");
- CNNNetReader reader;
- reader.ReadNetwork(xmlPath);
- reader.ReadWeights(binPath);
-
- CNNNetwork net = reader.getNetwork();
-
std::string device_name;
#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_GT(2019010000)
InferenceEnginePluginPtr enginePtr;
InferencePlugin plugin;
#endif
+
+#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_GT(2019030000)
+ CNNNetwork net = ie.ReadNetwork(xmlPath, binPath);
+#else
+ CNNNetReader reader;
+ reader.ReadNetwork(xmlPath);
+ reader.ReadWeights(binPath);
+
+ CNNNetwork net = reader.getNetwork();
+#endif
+
ExecutableNetwork netExec;
InferRequest infRequest;