We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4338da2 commit dd6bc30Copy full SHA for dd6bc30
onnxruntime/test/wasm/test_inference.cc
@@ -19,7 +19,7 @@ TEST(WebAssemblyTest, test) {
19
Ort::GetApi().SetGlobalInterOpNumThreads(envOpts, numInterOpsThreads);
20
Ort::GetApi().SetGlobalSpinControl(envOpts, 1);
21
Ort::GetApi().CreateEnvWithGlobalThreadPools(ORT_LOGGING_LEVEL_WARNING, "test", envOpts, &environment);
22
- env = Ort::Env(environment);
+ Ort::Env ort_env = Ort::Env(environment);
23
24
// Ort::Env ort_env;
25
Ort::Session session{ort_env, "testdata/mul_1.onnx", Ort::SessionOptions{nullptr}};
0 commit comments