27#ifdef USE_INFERENCE_ONNX
28#ifndef PAR04ONNXINFERENCE_HH
29#define PAR04ONNXINFERENCE_HH
30#include <core/session/onnxruntime_c_api.h>
36#include "core/session/onnxruntime_cxx_api.h"
52 std::vector<const char *> &cuda_keys,
53 std::vector<const char *> &cuda_values,
62 void RunInference(std::vector<float> aGenVector, std::vector<G4double>& aEnergies,
int aSize);
66 std::unique_ptr<Ort::Env> fEnv;
68 std::unique_ptr<Ort::Session> fSession;
70 Ort::SessionOptions fSessionOptions;
72 const OrtMemoryInfo* fInfo;
77 std::vector<const char*> fInames;