ATLAS Offline Software
|
Service used for managing global objects used by Onnx Runtime. More...
#include <IOnnxRuntimeSvc.h>
Public Member Functions | |
virtual | ~IOnnxRuntimeSvc ()=default |
Virtual destructor, to make vtable happy. More... | |
DeclareInterfaceID (AthOnnx::IOnnxRuntimeSvc, 1, 0) | |
Declare the interface that this class provides. More... | |
virtual Ort::Env & | env () const =0 |
Return the Onnx Runtime environment object. More... | |
virtual void | print () const =0 |
Print the state of the service. More... | |
Service used for managing global objects used by Onnx Runtime.
In order to allow multiple clients to use Onnx Runtime at the same time, this service is used to manage the objects that must only be created once in the Athena process.
Definition at line 25 of file IOnnxRuntimeSvc.h.
|
virtualdefault |
Virtual destructor, to make vtable happy.
AthOnnx::IOnnxRuntimeSvc::DeclareInterfaceID | ( | AthOnnx::IOnnxRuntimeSvc | , |
1 | , | ||
0 | |||
) |
Declare the interface that this class provides.
|
pure virtual |
Return the Onnx Runtime environment object.
|
pure virtualinherited |
Print the state of the service.