Project
Loading...
Searching...
No Matches
o2::zdc::fastsim::processors Namespace Reference

Classes

class  StandardScaler
 

Functions

std::vector< intreadClassifier (const Ort::Value &value, size_t batchSize)
 Reads predicted class as int.
 
std::vector< std::array< long, 5 > > calculateChannels (const Ort::Value &value, size_t batchSize)
 Calculate 5 channels values from 44x44 float array (for every batch)
 

Function Documentation

◆ calculateChannels()

std::vector< std::array< long, 5 > > o2::zdc::fastsim::processors::calculateChannels ( const Ort::Value &  value,
size_t  batchSize 
)

Calculate 5 channels values from 44x44 float array (for every batch)

Parameters
valuemodel prediction
batchSize
Returns
std::vector<std::array<long, 5>> calculated results

Definition at line 75 of file Processors.cxx.

◆ readClassifier()

std::vector< int > o2::zdc::fastsim::processors::readClassifier ( const Ort::Value &  value,
size_t  batchSize 
)

Reads predicted class as int.

Parameters
valuemodel prediction
batchSize
Returns
std::vector<int> casted results

Definition at line 65 of file Processors.cxx.