5 #include <onnxruntime_c_api.h>
16 Ort::ThreadingOptions tp_options;
17 tp_options.SetGlobalIntraOpNumThreads(1);
18 tp_options.SetGlobalInterOpNumThreads(1);
20 m_env = std::make_unique< Ort::Env >(
21 tp_options, ORT_LOGGING_LEVEL_WARNING,
name().c_str());
25 return StatusCode::SUCCESS;
35 return StatusCode::SUCCESS;