We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bac5dfe commit 6bc4bd9Copy full SHA for 6bc4bd9
cpp/neuralnet/ortbackend.cpp
@@ -115,6 +115,7 @@ struct Model {
115
auto envLocal = std::make_unique<Ort::Env>(ORT_LOGGING_LEVEL_ERROR, "Default");
116
env = std::move(envLocal);
117
Ort::SessionOptions sf;
118
+ sf.SetExecutionMode(ExecutionMode::ORT_PARALLEL);
119
sf.SetGraphOptimizationLevel(GraphOptimizationLevel::ORT_ENABLE_EXTENDED);
120
string dir = HomeData::getHomeDataDir(true, homeDataDirOverride);
121
MakeDir::make(dir);
0 commit comments