Merge pull request #10865 from dkurt:dnn_inf_engine_getInputsInfo

pull/10727/head
Vadim Pisarevsky 7 years ago
commit ef70b0baa4
  1. 6
      modules/dnn/src/op_inf_engine.cpp
  2. 2
      modules/dnn/src/op_inf_engine.hpp

@ -126,6 +126,12 @@ void InfEngineBackendNet::getInputsInfo(InferenceEngine::InputsDataMap &inputs_)
inputs_ = inputs; inputs_ = inputs;
} }
// Returns input references that aren't connected to internal outputs.
void InfEngineBackendNet::getInputsInfo(InferenceEngine::InputsDataMap &inputs_) const noexcept
{
inputs_ = inputs;
}
InferenceEngine::InputInfo::Ptr InfEngineBackendNet::getInput(const std::string &inputName) noexcept InferenceEngine::InputInfo::Ptr InfEngineBackendNet::getInput(const std::string &inputName) noexcept
{ {
getInputsInfo(inputs); getInputsInfo(inputs);

@ -29,6 +29,8 @@ public:
virtual void getInputsInfo(InferenceEngine::InputsDataMap &inputs) noexcept; virtual void getInputsInfo(InferenceEngine::InputsDataMap &inputs) noexcept;
virtual void getInputsInfo(InferenceEngine::InputsDataMap &inputs) const noexcept;
virtual InferenceEngine::InputInfo::Ptr getInput(const std::string &inputName) noexcept; virtual InferenceEngine::InputInfo::Ptr getInput(const std::string &inputName) noexcept;
virtual void getName(char *pName, size_t len) noexcept; virtual void getName(char *pName, size_t len) noexcept;

Loading…
Cancel
Save