From 1550a98bd23d53577233eaf2b8e60d07528eb5b8 Mon Sep 17 00:00:00 2001 From: guozhong wang Date: Wed, 1 Feb 2023 21:07:55 +0800 Subject: [PATCH] Remove the redundant functions in the executable_network.cpp (#14909) Co-authored-by: yanlan song --- src/plugins/auto/executable_network.cpp | 12 ------------ src/plugins/auto/executable_network.hpp | 4 ---- 2 files changed, 16 deletions(-) diff --git a/src/plugins/auto/executable_network.cpp b/src/plugins/auto/executable_network.cpp index cd13d69497d..e732a1fb5e7 100644 --- a/src/plugins/auto/executable_network.cpp +++ b/src/plugins/auto/executable_network.cpp @@ -18,18 +18,6 @@ ExecutableNetwork::ExecutableNetwork(const Schedule::Ptr& schedule, ExecutableNetwork::~ExecutableNetwork() { } -IInferPtr ExecutableNetwork::CreateInferRequestImpl( - const std::vector>& inputs, - const std::vector>& 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(); diff --git a/src/plugins/auto/executable_network.hpp b/src/plugins/auto/executable_network.hpp index 511336ae2be..b52aaca273d 100644 --- a/src/plugins/auto/executable_network.hpp +++ b/src/plugins/auto/executable_network.hpp @@ -20,10 +20,6 @@ public: using Ptr = std::shared_ptr; 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>& inputs, - const std::vector>& outputs) override; ~ExecutableNetwork() override; protected: