mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge pull request #11566 from mshabunin:allow-ie-force
This commit is contained in:
@@ -80,7 +80,7 @@ else()
|
||||
set(sources_options EXCLUDE_OPENCL)
|
||||
endif()
|
||||
|
||||
if(WITH_INF_ENGINE AND HAVE_INF_ENGINE)
|
||||
if(HAVE_INF_ENGINE)
|
||||
add_definitions(-DHAVE_INF_ENGINE=1)
|
||||
list(APPEND include_dirs ${INF_ENGINE_INCLUDE_DIRS})
|
||||
list(APPEND libs ${INF_ENGINE_LIBRARIES})
|
||||
|
||||
@@ -192,6 +192,10 @@ void InfEngineBackendNet::getName(char*, size_t) noexcept
|
||||
{
|
||||
}
|
||||
|
||||
void InfEngineBackendNet::getName(char*, size_t) const noexcept
|
||||
{
|
||||
}
|
||||
|
||||
size_t InfEngineBackendNet::layerCount() noexcept
|
||||
{
|
||||
return layers.size();
|
||||
|
||||
@@ -46,7 +46,9 @@ public:
|
||||
|
||||
virtual InferenceEngine::InputInfo::Ptr getInput(const std::string &inputName) noexcept CV_OVERRIDE;
|
||||
|
||||
virtual void getName(char *pName, size_t len) noexcept CV_OVERRIDE;
|
||||
virtual void getName(char *pName, size_t len) noexcept;
|
||||
|
||||
virtual void getName(char *pName, size_t len) const noexcept;
|
||||
|
||||
virtual size_t layerCount() noexcept CV_OVERRIDE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user