Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions onnxruntime/core/providers/openvino/backends/basic_backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ void BasicBackend::StartAsyncInference(Ort::KernelContext& context, OVInferReque
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ORT_OVtensor is created and tensor is set in this else block in case of dynamic shaped model. The changes LGTM. But this condition has to be refactored as a follow up.

}
} // Loop subgraph original input names

if (session_context_.device_type.find("NPU") != std::string::npos) {
if (session_context_.device_type.find("NPU") != std::string::npos &&
!subgraph_context_.has_dynamic_input_shape) {
// Set the output blob as remote blob
auto graph_output_info = exe_network_.Get().outputs();
auto output_idx = 0;
Expand Down
Loading