|
ATLAS Offline Software
|
Go to the documentation of this file.
3 #ifndef ATHONNX_ONNXRUNTIMESVC_H
4 #define ATHONNX_ONNXRUNTIMESVC_H
13 #include <onnxruntime_cxx_api.h>
46 virtual Ort::Env&
env()
const override;
52 std::unique_ptr< Ort::Env >
m_env;
58 #endif // ATHONNX_ONNXRUNTIMESVC_H
virtual StatusCode finalize() override
Function finalising the service.
std::unique_ptr< Ort::Env > m_env
Global runtime environment for Onnx Runtime.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual Ort::Env & env() const override
Return the Onnx Runtime environment object.
AthROOTErrorHandlerSvc * svc
virtual StatusCode initialize() override
Function initialising the service.
Service implementing AthOnnx::IOnnxRuntimeSvc.
OnnxRuntimeSvc(const std::string &name, ISvcLocator *svc)
Namespace holding all of the Onnx Runtime example code.