Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
2 #ifndef AthOnnx_IOnnxRuntimeInferenceTool_H
3 #define AthOnnx_IOnnxRuntimeInferenceTool_H
11 #include <onnxruntime_cxx_api.h>
97 virtual StatusCode inference(std::vector<Ort::Value>& inputTensors, std::vector<Ort::Value>& outputTensors)
const = 0;
108 template <
typename T>
109 Ort::Value
createTensor(std::vector<T>&
data,
const std::vector<int64_t>& dataShape, int64_t batchSize)
const;
char data[hepevt_bytes_allocation_ATLAS]
::StatusCode StatusCode
StatusCode definition for legacy code.
size_t dataSize(TDA::PayloadIterator start)
Size in bytes of the buffer that is needed to decode next fragment data content.
Namespace holding all of the Onnx Runtime example code.