17 ATH_MSG_INFO(
" OnnxRuntime release: " << OrtGetApiBase()->GetVersionString());
26 Ort::SessionOptions sessionOptions;
27 sessionOptions.SetGraphOptimizationLevel( GraphOptimizationLevel::ORT_ENABLE_ALL );
30 ATH_MSG_INFO(
"Asking model from: " << m_modelFileName.value());
33 m_session = std::make_unique<Ort::Session>(m_onnxRuntimeSvc->env(), modelFilePath.c_str(), sessionOptions);
35 return StatusCode::SUCCESS;