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

template<typename... ColTypes>
class TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >

Definition at line 32 of file RChunkLoader.hxx.

Public Member Functions

 RChunkLoaderFunctor (TMVA::Experimental::RTensor< float > &chunkTensor, const std::vector< std::size_t > &maxVecSizes, float vecPadding)
 
void operator() (const ColTypes &...cols)
 

Private Member Functions

template<typename T , std::enable_if_t<!ROOT::Internal::RDF::IsDataContainer< T >::value, int > = 0>
void AssignToTensor (const T &val)
 
template<typename T , std::enable_if_t< ROOT::Internal::RDF::IsDataContainer< T >::value, int > = 0>
void AssignToTensor (const T &vec)
 

Private Attributes

TMVA::Experimental::RTensor< float > & fChunkTensor
 
std::vector< std::size_t > fMaxVecSizes {}
 
std::size_t fOffset {}
 
float fVecPadding {}
 
std::size_t fVecSizeIdx {}
 

#include <TMVA/BatchGenerator/RChunkLoader.hxx>

Constructor & Destructor Documentation

◆ RChunkLoaderFunctor()

template<typename... ColTypes>
TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::RChunkLoaderFunctor ( TMVA::Experimental::RTensor< float > &  chunkTensor,
const std::vector< std::size_t > &  maxVecSizes,
float  vecPadding 
)
inline

Definition at line 64 of file RChunkLoader.hxx.

Member Function Documentation

◆ AssignToTensor() [1/2]

template<typename... ColTypes>
template<typename T , std::enable_if_t<!ROOT::Internal::RDF::IsDataContainer< T >::value, int > = 0>
void TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::AssignToTensor ( const T &  val)
inlineprivate

Definition at line 58 of file RChunkLoader.hxx.

◆ AssignToTensor() [2/2]

template<typename... ColTypes>
template<typename T , std::enable_if_t< ROOT::Internal::RDF::IsDataContainer< T >::value, int > = 0>
void TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::AssignToTensor ( const T &  vec)
inlineprivate

Definition at line 41 of file RChunkLoader.hxx.

◆ operator()()

template<typename... ColTypes>
void TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::operator() ( const ColTypes &...  cols)
inline

Definition at line 70 of file RChunkLoader.hxx.

Member Data Documentation

◆ fChunkTensor

template<typename... ColTypes>
TMVA::Experimental::RTensor<float>& TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::fChunkTensor
private

Definition at line 38 of file RChunkLoader.hxx.

◆ fMaxVecSizes

template<typename... ColTypes>
std::vector<std::size_t> TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::fMaxVecSizes {}
private

Definition at line 36 of file RChunkLoader.hxx.

◆ fOffset

template<typename... ColTypes>
std::size_t TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::fOffset {}
private

Definition at line 33 of file RChunkLoader.hxx.

◆ fVecPadding

template<typename... ColTypes>
float TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::fVecPadding {}
private

Definition at line 35 of file RChunkLoader.hxx.

◆ fVecSizeIdx

template<typename... ColTypes>
std::size_t TMVA::Experimental::Internal::RChunkLoaderFunctor< ColTypes >::fVecSizeIdx {}
private

Definition at line 34 of file RChunkLoader.hxx.

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