Remove the redundant functions in the executable_network.cpp (#14909)

Co-authored-by: yanlan song <bell.song@intel.com>
This commit is contained in:
guozhong wang 2023-02-01 21:07:55 +08:00 committed by GitHub
parent ce287067d5
commit 1550a98bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 16 deletions

View File

@ -18,18 +18,6 @@ ExecutableNetwork::ExecutableNetwork(const Schedule::Ptr& schedule,
ExecutableNetwork::~ExecutableNetwork() {
}
IInferPtr ExecutableNetwork::CreateInferRequestImpl(
const std::vector<std::shared_ptr<const ov::Node>>& inputs,
const std::vector<std::shared_ptr<const ov::Node>>& outputs) {
return _schedule->CreateInferRequestImpl(inputs, outputs);
}
IInferPtr ExecutableNetwork::CreateInferRequestImpl(
InferenceEngine::InputsDataMap networkInputs,
InferenceEngine::OutputsDataMap networkOutputs) {
return _schedule->CreateInferRequestImpl(networkInputs, networkOutputs);
}
IInferRequestInternal::Ptr ExecutableNetwork::CreateInferRequest() {
SetExeNetworkForContext();
return _schedule->CreateInferRequest();

View File

@ -20,10 +20,6 @@ public:
using Ptr = std::shared_ptr<ExecutableNetwork>;
ExecutableNetwork(const Schedule::Ptr& schedule, const ScheduleContext::Ptr& sContext);
IInferPtr CreateInferRequest() override;
IInferPtr CreateInferRequestImpl(InferenceEngine::InputsDataMap networkInputs,
InferenceEngine::OutputsDataMap networkOutputs) override;
IInferPtr CreateInferRequestImpl(const std::vector<std::shared_ptr<const ov::Node>>& inputs,
const std::vector<std::shared_ptr<const ov::Node>>& outputs) override;
~ExecutableNetwork() override;
protected: