From 0418e68e6261d2781da77a15303be8f0d0080518 Mon Sep 17 00:00:00 2001 From: Corsair-cxs <1494089474@qq.com> Date: Sun, 14 Mar 2021 17:04:07 +0800 Subject: [PATCH] Comment 'ie_device' related file and API --- dynamic_vino_lib/include/dynamic_vino_lib/common.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dynamic_vino_lib/include/dynamic_vino_lib/common.h b/dynamic_vino_lib/include/dynamic_vino_lib/common.h index 9f95db9f..6ed7edad 100644 --- a/dynamic_vino_lib/include/dynamic_vino_lib/common.h +++ b/dynamic_vino_lib/include/dynamic_vino_lib/common.h @@ -40,7 +40,7 @@ #include #include -#include +// #include #include #include @@ -64,6 +64,8 @@ inline std::string& trim(std::string& s) return s; } +// TargetDevice is not in openvino2020.3.341 +#if 0 /** * @brief Converts string to TargetDevice * @param deviceName - string value representing device @@ -111,6 +113,7 @@ static UNUSED InferenceEngine::InferenceEnginePluginPtr selectPlugin(const std:: { return selectPlugin(pluginDirs, plugin, getDeviceFromStr(device)); } +#endif /** * @brief Gets filename without extension @@ -228,6 +231,8 @@ inline void printPluginVersion(InferenceEngine::InferenceEnginePluginPtr ptr, st stream << pluginVersion << std::endl; } +// TargetDevice is not in openvino2020 +#if 0 static UNUSED std::vector> blobToImageOutputArray(InferenceEngine::TBlob::Ptr output, size_t* pWidth, size_t* pHeight, size_t* pChannels) @@ -269,6 +274,7 @@ static UNUSED std::vector> blobToImageOutputArray(InferenceE return outArray; } +#endif /** * @class Color @@ -642,6 +648,9 @@ static UNUSED void printPerformanceCounts(InferenceEngine::InferRequest request, printPerformanceCounts(perfomanceMap, stream); } + +// TargetDevice is not in openvino2020 +#if 0 /** * @deprecated */ @@ -651,6 +660,7 @@ static UNUSED void printPerformanceCountsPlugin(InferenceEngine::InferenceEngine plugin->GetPerformanceCounts(perfomanceMap, nullptr); printPerformanceCounts(perfomanceMap, stream); } +#endif /** * @brief This class represents an object that is found by an object detection