Skip to content

Commit

Permalink
Removing curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
ChSonnabend committed Nov 29, 2024
1 parent 7b82026 commit 43eb177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/ML/src/OrtInterface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void OrtModel::reset(std::unordered_map<std::string, std::string> optionsMap)
},
(void*)3);
(pImplOrt->env)->DisableTelemetryEvents(); // Disable telemetry events
pImplOrt->session = std::make_shared<Ort::Session>({*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions});
pImplOrt->session = std::make_shared<Ort::Session>(*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions);

for (size_t i = 0; i < (pImplOrt->session)->GetInputCount(); ++i) {
mInputNames.push_back((pImplOrt->session)->GetInputNameAllocated(i, pImplOrt->allocator).get());
Expand Down

0 comments on commit 43eb177

Please sign in to comment.