Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
preetha-intel committed Jan 27, 2025
1 parent fb427c5 commit df46642
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion onnxruntime/core/providers/openvino/backend_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ bool IsCILogEnabled() {
std::shared_ptr<const OVNetwork>
CreateOVModel(const std::string model,
const SessionContext& session_context,
const SubGraphContext& subgraph_context,
std::map<std::string, std::shared_ptr<ov::Node>>& const_outputs_map) {
if (IsCILogEnabled()) {
std::cout << "CreateNgraphFunc" << std::endl;
Expand Down
1 change: 0 additions & 1 deletion onnxruntime/core/providers/openvino/backend_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ void FillOutputBlob(OVTensorPtr outputBlob, Ort::UnownedValue& output_tensor,
std::shared_ptr<const OVNetwork>
CreateOVModel(const std::string model,
const SessionContext& session_context,
const SubGraphContext& subgraph_context,
std::map<std::string, std::shared_ptr<ov::Node>>& const_outputs_map);

void CreateOVTensors(const std::string& device_name,
Expand Down
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 @@ -75,7 +75,7 @@ BasicBackend::BasicBackend(std::unique_ptr<ONNX_NAMESPACE::ModelProto>& model_pr
if (!subgraph_context.has_dynamic_input_shape) {
delete model_proto.release();
}
ov_model = CreateOVModel(model, session_context_, subgraph_context_, const_outputs_map_);
ov_model = CreateOVModel(model, session_context_, const_outputs_map_);
}
LOGS_DEFAULT(INFO) << log_tag << "IO Buffering Enabled";
exe_network_ = OVCore::CompileModel(
Expand Down Expand Up @@ -114,7 +114,7 @@ BasicBackend::BasicBackend(std::unique_ptr<ONNX_NAMESPACE::ModelProto>& model_pr
if (!subgraph_context.has_dynamic_input_shape) {
delete model_proto.release();
}
ov_model = CreateOVModel(model, session_context_, subgraph_context_, const_outputs_map_);
ov_model = CreateOVModel(model, session_context_, const_outputs_map_);
}
exe_network_ = OVCore::CompileModel(
ov_model, hw_target, device_config, subgraph_context_.subgraph_name);
Expand Down

0 comments on commit df46642

Please sign in to comment.