Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Experimental::BranchlessJittedForest< T > Struct Template Reference

template<typename T>
struct TMVA::Experimental::BranchlessJittedForest< T >

Forest using branchless jitted trees.

Template Parameters
TValue type for the computation (usually floating point type)

Definition at line 187 of file Forest.hxx.

Public Member Functions

void Inference (const T *inputs, const int rows, bool layout, T *predictions)
 Perform inference of the forest with the jitted branchless implementation on a batch of inputs.
 
std::string Load (const std::string &key, const std::string &filename, const int output=0, const bool sortTrees=true)
 Load parameters from a ROOT file to the branchless trees.
 

#include <TMVA/TreeInference/Forest.hxx>

Inheritance diagram for TMVA::Experimental::BranchlessJittedForest< T >:
[legend]

Member Function Documentation

◆ Inference()

template<typename T >
void TMVA::Experimental::BranchlessJittedForest< T >::Inference ( const T *  inputs,
const int  rows,
bool  layout,
T *  predictions 
)

Perform inference of the forest with the jitted branchless implementation on a batch of inputs.

Parameters
[in]inputsPointer to data containing the inputs
[in]rowsNumber of events in inputs vector
[in]layoutRow major (true) or column major (false) memory layout
[in]predictionsPointer to the buffer to be filled with the predictions

Definition at line 358 of file Forest.hxx.

◆ Load()

template<typename T >
std::string TMVA::Experimental::BranchlessJittedForest< T >::Load ( const std::string &  key,
const std::string &  filename,
const int  output = 0,
const bool  sortTrees = true 
)
inline

Load parameters from a ROOT file to the branchless trees.

Parameters
[in]keyName of folder in the ROOT file containing the model parameters
[in]filenameFilename of the ROOT file
[in]outputLoad trees corresponding to the given output node of the forest
[in]sortTreesFlag to indicate sorting the input trees by the cut value of the first node of each tree
Returns
Return jitted code as string

Definition at line 201 of file Forest.hxx.

Collaboration diagram for TMVA::Experimental::BranchlessJittedForest< T >:
[legend]

The documentation for this struct was generated from the following file: