Skip to content

Commit

Permalink
addd openvino
Browse files Browse the repository at this point in the history
  • Loading branch information
chilo-ms committed Nov 15, 2024
1 parent 6f128a1 commit a172f40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onnxruntime/core/providers/openvino/onnx_ctx_model_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Status EPCtxHandler::ExportEPCtxModel(const GraphViewer& graph_viewer,
const bool& ep_context_embed_mode,
std::string&& model_blob_str,
const std::string& openvino_sdk_version) const {
auto model_build = graph_viewer.CreateModel(logger);
auto& metadata = graph_viewer.GetGraph().GetModel().MetaData();
auto model_build = graph_viewer.CreateModel(logger, metadata);
auto& graph_build = model_build->MainGraph();

// Get graph inputs and outputs
Expand Down

0 comments on commit a172f40

Please sign in to comment.