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
6 changes: 4 additions & 2 deletions onnxruntime/core/providers/openvino/ov_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ OVExeNetwork OVCore::CompileModel(std::shared_ptr<const OVNetwork>& ie_cnn_netwo
auto obj = core.compile_model(ie_cnn_network, hw_target, device_config);
exe = OVExeNetwork(obj, hw_target);
}

#ifndef NDEBUG
printDebugInfo(obj);
printDebugInfo(exe.Get());
#endif

return exe;
} catch (const Exception& e) {
ORT_THROW(log_tag + " Exception while Loading Network for graph: " + name + e.what());
Expand Down Expand Up @@ -240,7 +242,7 @@ OVExeNetwork OVCore::ImportModel(std::istream& model_stream,
}

#ifndef NDEBUG
printDebugInfo(obj);
printDebugInfo(exe.Get());
#endif
return exe;
} catch (const Exception& e) {
Expand Down
Loading