![]() |
ATLAS Offline Software
|
This class is in charge of parsing the information from: Graph object -> onnxruntime object. More...
#include <HyPERParser.h>
Public Member Functions | |
| HyPERParser ()=default | |
| virtual | ~HyPERParser ()=default |
| virtual void | buildONNXInputs (const HyPERGraph &hyperGraph, HyPERModel &hyperModel)=0 |
| This method takes the information from the graph object and builds the inputs for the onnxruntime object. | |
| virtual void | getONNXOutputs (HyPERModel &hyperModel)=0 |
| This method takes the information from the onnxruntime object and builds the outputs on the parser object. | |
| virtual void | reconstructOutputs (const HyPERGraph &hyperGraph)=0 |
| This method implements the reconstruction of the outputs from the parser object into physcally meaningful quantities. | |
| virtual std::vector< std::string > | getLabels ()=0 |
| The following methods return the reconstruction labels, scores and related indices from the parser object. | |
| virtual std::vector< float > | getScores ()=0 |
| virtual std::vector< std::vector< int > > | getIndices ()=0 |
| virtual std::vector< std::vector< int > > | getIds ()=0 |
| virtual float | getClassificationScore ()=0 |
| virtual void | clear ()=0 |
| This method clears the parser object. | |
| virtual void | printOutputsForValidation () const =0 |
This class is in charge of parsing the information from: Graph object -> onnxruntime object.
onnxruntime object -> Parser object (for the outputs). Reconstruct the objects from the outputs. It is a pure virtual class, and it must be implemented for each topology.
Definition at line 22 of file HyPERParser.h.
|
default |
|
virtualdefault |
|
pure virtual |
This method takes the information from the graph object and builds the inputs for the onnxruntime object.
Implemented in EventReco::HyPERTtbarAllHadronicParser, EventReco::HyPERTtbarDiLeptonParser, and EventReco::HyPERTtbarLJetsParser.
|
pure virtual |
This method clears the parser object.
Implemented in EventReco::HyPERTtbarAllHadronicParser, EventReco::HyPERTtbarDiLeptonParser, and EventReco::HyPERTtbarLJetsParser.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
The following methods return the reconstruction labels, scores and related indices from the parser object.
This should be used after the reconstructOutputs method.
Implemented in EventReco::HyPERTtbarAllHadronicParser, EventReco::HyPERTtbarDiLeptonParser, and EventReco::HyPERTtbarLJetsParser.
|
pure virtual |
This method takes the information from the onnxruntime object and builds the outputs on the parser object.
Implemented in EventReco::HyPERTtbarAllHadronicParser, EventReco::HyPERTtbarDiLeptonParser, and EventReco::HyPERTtbarLJetsParser.
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method implements the reconstruction of the outputs from the parser object into physcally meaningful quantities.
Implemented in EventReco::HyPERTtbarAllHadronicParser, EventReco::HyPERTtbarDiLeptonParser, and EventReco::HyPERTtbarLJetsParser.