#include <CompiledModelInterface.hpp>
Definition at line 17 of file CompiledModelInterface.hpp.
◆ CompiledModelInterface()
| triggeralgs::CompiledModelInterface::CompiledModelInterface |
( |
int | nbatch | ) |
|
◆ ~CompiledModelInterface()
| triggeralgs::CompiledModelInterface::~CompiledModelInterface |
( |
| ) |
|
◆ Classify()
| bool triggeralgs::CompiledModelInterface::Classify |
( |
const float * | result, |
|
|
float & | bdt_threshold ) |
Definition at line 33 of file CompiledModelInterface.cpp.
33 {
34 for (uint64_t rid = 0; rid <
num_batch; rid++) {
35 if (result[rid] > bdt_threshold) {
36 return true;
37 }
38 }
39 return false;
40}
◆ GetNumFeatures()
| int triggeralgs::CompiledModelInterface::GetNumFeatures |
( |
| ) |
|
◆ ModelWarmUp()
| void triggeralgs::CompiledModelInterface::ModelWarmUp |
( |
Entry * | input | ) |
|
◆ Predict()
| void triggeralgs::CompiledModelInterface::Predict |
( |
Entry * | input, |
|
|
float * | result ) |
◆ model_ptr
◆ num_batch
| int triggeralgs::CompiledModelInterface::num_batch |
|
protected |
The documentation for this class was generated from the following files: