|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <CompiledModelInterface.hpp>
Public Member Functions | |
| CompiledModelInterface (int nbatch) | |
| ~CompiledModelInterface () | |
| int | GetNumFeatures () |
| void | ModelWarmUp (Entry *input) |
| void | Predict (Entry *input, float *result) |
| bool | Classify (const float *result, float &bdt_threshold) |
Protected Attributes | |
| std::unique_ptr< TreeliteModelBase > | model_ptr |
| int | num_batch |
Definition at line 17 of file CompiledModelInterface.hpp.
| triggeralgs::CompiledModelInterface::CompiledModelInterface | ( | int | nbatch | ) |
Definition at line 7 of file CompiledModelInterface.cpp.
| triggeralgs::CompiledModelInterface::~CompiledModelInterface | ( | ) |
Definition at line 11 of file CompiledModelInterface.cpp.
| bool triggeralgs::CompiledModelInterface::Classify | ( | const float * | result, |
| float & | bdt_threshold ) |
Definition at line 33 of file CompiledModelInterface.cpp.
| int triggeralgs::CompiledModelInterface::GetNumFeatures | ( | ) |
Definition at line 13 of file CompiledModelInterface.cpp.
| void triggeralgs::CompiledModelInterface::ModelWarmUp | ( | Entry * | input | ) |
Definition at line 17 of file CompiledModelInterface.cpp.
| void triggeralgs::CompiledModelInterface::Predict | ( | Entry * | input, |
| float * | result ) |
Definition at line 27 of file CompiledModelInterface.cpp.
|
protected |
Definition at line 37 of file CompiledModelInterface.hpp.
|
protected |
Definition at line 38 of file CompiledModelInterface.hpp.