Add const getInputsInfo

This commit is contained in:
Dmitry Kurtaev 2018-02-14 14:17:44 +03:00
parent 252e871a8b
commit a66b5e2c13
2 changed files with 8 additions and 0 deletions

View File

@ -126,6 +126,12 @@ void InfEngineBackendNet::getInputsInfo(InferenceEngine::InputsDataMap &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
{
getInputsInfo(inputs);

View File

@ -29,6 +29,8 @@ public:
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 void getName(char *pName, size_t len) noexcept;