3#ifndef ATHEXOnnxRUNTIME_IOnnxRUNTIMESVC_H
4#define ATHEXOnnxRUNTIME_IOnnxRUNTIMESVC_H
10#include <onnxruntime_cxx_api.h>
35 virtual Ort::Env&
env()
const = 0;
Service used for managing global objects used by Onnx Runtime.
DeclareInterfaceID(AthOnnx::IOnnxRuntimeSvc, 1, 0)
Declare the interface that this class provides.
virtual Ort::Env & env() const =0
Return the Onnx Runtime environment object.
virtual ~IOnnxRuntimeSvc()=default
Virtual destructor, to make vtable happy.
Base class for the dual-use service interface classes.
Namespace holding all of the Onnx Runtime example code.