Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxlib.h File Reference
#include <onnxruntime_cxx_api.h>
+ Include dependency graph for onnxlib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Ort::Session * onnxSession (std::string &modelfile)
 
std::vector< float > onnxInference (Ort::Session *session, std::vector< float > &input, int N, int Nsamp, int Nreturn)
 

Function Documentation

std::vector<float> onnxInference ( Ort::Session *  session,
std::vector< float > &  input,
int  N,
int  Nsamp,
int  Nreturn 
)

Definition at line 15 of file onnxlib.cc.

View newest version in sPHENIX GitHub at line 15 of file onnxlib.cc

References N.

Referenced by CaloWaveformProcessing::calo_processing_ONNX().

+ Here is the caller graph for this function:

Ort::Session* onnxSession ( std::string &  modelfile)

Definition at line 6 of file onnxlib.cc.

View newest version in sPHENIX GitHub at line 6 of file onnxlib.cc

References conf::env.

Referenced by CaloWaveformProcessing::initialize_processing().

+ Here is the caller graph for this function: