Skip to content

Commit

Permalink
dnn: support later IE versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed May 22, 2018
1 parent 020ad1a commit 53a6878
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions modules/dnn/src/op_inf_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 3 additions & 1 deletion modules/dnn/src/op_inf_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ class InfEngineBackendNet : public InferenceEngine::ICNNNetwork

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;

Expand Down

0 comments on commit 53a6878

Please sign in to comment.