![]() |
ATLAS Offline Software
|
#include <Model.h>
Public Member Functions | |
| Model (const std::string &modelPath, AthOnnx::IOnnxRuntimeSvc *svc, float etmin, float etmax, float etamin, float etamax, unsigned barcode) | |
| Constructor. | |
| ~Model ()=default | |
| Destructor. | |
| void | compile () |
| float | etMin () const |
| Get the Et lower edge. | |
| float | etMax () const |
| Get the Et high edge. | |
| float | etaMin () const |
| Get the Eta lower edge. | |
| float | etaMax () const |
| Get the Eta high edge. | |
| float | predict (std::vector< std::vector< float > > &) const |
| Calculate the disriminant. | |
| unsigned | barcode () const |
Private Attributes | |
| std::shared_ptr< Ort::Session > | m_session |
| std::vector< std::vector< int64_t > > | m_input_node_dims |
| std::vector< int64_t > | m_output_node_dims |
| std::vector< const char * > | m_input_node_names |
| std::vector< const char * > | m_output_node_names |
| float | m_etmin |
| float | m_etmax |
| float | m_etamin |
| float | m_etamax |
| unsigned | m_barcode |
| Ringer::onnx::Model::Model | ( | const std::string & | modelPath, |
| AthOnnx::IOnnxRuntimeSvc * | svc, | ||
| float | etmin, | ||
| float | etmax, | ||
| float | etamin, | ||
| float | etamax, | ||
| unsigned | barcode ) |
Constructor.
|
default |
Destructor.
|
inline |
| void Ringer::onnx::Model::compile | ( | ) |
Definition at line 32 of file Model.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
| float Ringer::onnx::Model::predict | ( | std::vector< std::vector< float > > & | input_vecs | ) | const |
Calculate the disriminant.
Definition at line 65 of file Model.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |