5#ifndef RingerSelectorTools_tools_onnx_Model_h
6#define RingerSelectorTools_tools_onnx_Model_h
9#include <onnxruntime_cxx_api.h>
27 float etmin,
float etmax,
float etamin,
float etamax,
48 float predict ( std::vector< std::vector<float> > & )
const;
Service used for managing global objects used by Onnx Runtime.
float etMax() const
Get the Et high edge.
float etaMin() const
Get the Eta lower edge.
std::vector< std::vector< int64_t > > m_input_node_dims
std::vector< const char * > m_input_node_names
std::vector< const char * > m_output_node_names
float etaMax() const
Get the Eta high edge.
float etMin() const
Get the Et lower edge.
~Model()=default
Destructor.
std::vector< int64_t > m_output_node_dims
Model(const std::string &modelPath, AthOnnx::IOnnxRuntimeSvc *svc, float etmin, float etmax, float etamin, float etamax, unsigned barcode)
Constructor.
std::shared_ptr< Ort::Session > m_session
float predict(std::vector< std::vector< float > > &) const
Calculate the disriminant.
Namespace dedicated for Ringer utilities.