mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Address PR coomment
This commit is contained in:
parent
d18f0fc47b
commit
6aa9d14d02
1 changed files with 2 additions and 2 deletions
|
|
@ -932,9 +932,9 @@ common::Status InferenceSession::Initialize() {
|
|||
|
||||
if (status.IsOK()) {
|
||||
for (auto& xp : execution_providers_) {
|
||||
auto endStatus = xp->OnSessionInitializationEnd();
|
||||
auto end_status = xp->OnSessionInitializationEnd();
|
||||
if (status.IsOK()) {
|
||||
status = endStatus;
|
||||
status = end_status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue