Remove the redundant functions in the executable_network.cpp (#14909)
Co-authored-by: yanlan song <bell.song@intel.com>
This commit is contained in:
parent
ce287067d5
commit
1550a98bd2
@ -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();
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user