Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #131 from Corsair-cxs/iss131
Browse files Browse the repository at this point in the history
Comment 'ie_device' related file and API [issue #130]
  • Loading branch information
LewisLiuPub authored Mar 15, 2021
2 parents c024f4a + 0418e68 commit 2ae00de
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion dynamic_vino_lib/include/dynamic_vino_lib/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#include <cpp/ie_cnn_net_reader.h>
#include <cpp/ie_infer_request.hpp>
#include <ie_device.hpp>
// #include <ie_device.hpp>
#include <ie_plugin_dispatcher.hpp>
#include <ie_plugin_ptr.hpp>

Expand All @@ -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
Expand Down Expand Up @@ -111,6 +113,7 @@ static UNUSED InferenceEngine::InferenceEnginePluginPtr selectPlugin(const std::
{
return selectPlugin(pluginDirs, plugin, getDeviceFromStr(device));
}
#endif

/**
* @brief Gets filename without extension
Expand Down Expand Up @@ -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<std::vector<size_t>> blobToImageOutputArray(InferenceEngine::TBlob<float>::Ptr output,
size_t* pWidth, size_t* pHeight,
size_t* pChannels)
Expand Down Expand Up @@ -269,6 +274,7 @@ static UNUSED std::vector<std::vector<size_t>> blobToImageOutputArray(InferenceE

return outArray;
}
#endif

/**
* @class Color
Expand Down Expand Up @@ -642,6 +648,9 @@ static UNUSED void printPerformanceCounts(InferenceEngine::InferRequest request,
printPerformanceCounts(perfomanceMap, stream);
}


// TargetDevice is not in openvino2020
#if 0
/**
* @deprecated
*/
Expand All @@ -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
Expand Down

0 comments on commit 2ae00de

Please sign in to comment.