Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Experimental::Internal::RChunkLoader< Args > Class Template Reference

template<typename... Args>
class TMVA::Experimental::Internal::RChunkLoader< Args >

Definition at line 147 of file RChunkLoader.hxx.

Public Member Functions

 RChunkLoader (ROOT::RDF::RNode &rdf, TMVA::Experimental::RTensor< float > &chunkTensor, const std::size_t chunkSize, const std::vector< std::string > &cols, const std::vector< std::size_t > &vecSizes={}, const float vecPadding=0.0)
 Constructor for the RChunkLoader.
 
std::size_t LoadChunk (const std::size_t currentRow)
 Load a chunk of data using the RChunkLoaderFunctor.
 

Private Attributes

ROOT::RDF::RNodef_rdf
 
std::size_t fChunkSize
 
TMVA::Experimental::RTensor< float > & fChunkTensor
 
std::vector< std::string > fCols
 
std::size_t fVecPadding
 
std::vector< std::size_t > fVecSizes
 

#include <TMVA/BatchGenerator/RChunkLoader.hxx>

Constructor & Destructor Documentation

◆ RChunkLoader()

template<typename... Args>
TMVA::Experimental::Internal::RChunkLoader< Args >::RChunkLoader ( ROOT::RDF::RNode rdf,
TMVA::Experimental::RTensor< float > &  chunkTensor,
const std::size_t  chunkSize,
const std::vector< std::string > &  cols,
const std::vector< std::size_t > &  vecSizes = {},
const float  vecPadding = 0.0 
)
inline

Constructor for the RChunkLoader.

Parameters
rdf
chunkSize
cols
vecSizes
vecPadding

Definition at line 167 of file RChunkLoader.hxx.

Member Function Documentation

◆ LoadChunk()

template<typename... Args>
std::size_t TMVA::Experimental::Internal::RChunkLoader< Args >::LoadChunk ( const std::size_t  currentRow)
inline

Load a chunk of data using the RChunkLoaderFunctor.

Parameters
chunkTensor
currentRow
Returns
Number of processed events

Definition at line 183 of file RChunkLoader.hxx.

Member Data Documentation

◆ f_rdf

template<typename... Args>
ROOT::RDF::RNode& TMVA::Experimental::Internal::RChunkLoader< Args >::f_rdf
private

Definition at line 157 of file RChunkLoader.hxx.

◆ fChunkSize

template<typename... Args>
std::size_t TMVA::Experimental::Internal::RChunkLoader< Args >::fChunkSize
private

Definition at line 150 of file RChunkLoader.hxx.

◆ fChunkTensor

template<typename... Args>
TMVA::Experimental::RTensor<float>& TMVA::Experimental::Internal::RChunkLoader< Args >::fChunkTensor
private

Definition at line 158 of file RChunkLoader.hxx.

◆ fCols

template<typename... Args>
std::vector<std::string> TMVA::Experimental::Internal::RChunkLoader< Args >::fCols
private

Definition at line 152 of file RChunkLoader.hxx.

◆ fVecPadding

template<typename... Args>
std::size_t TMVA::Experimental::Internal::RChunkLoader< Args >::fVecPadding
private

Definition at line 155 of file RChunkLoader.hxx.

◆ fVecSizes

template<typename... Args>
std::vector<std::size_t> TMVA::Experimental::Internal::RChunkLoader< Args >::fVecSizes
private

Definition at line 154 of file RChunkLoader.hxx.

  • tmva/tmva/inc/TMVA/BatchGenerator/RChunkLoader.hxx