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

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

Definition at line 78 of file RChunkLoader.hxx.

Public Member Functions

 RChunkLoaderFunctorFilters (TMVA::Experimental::RTensor< float > &chunkTensor, TMVA::Experimental::RTensor< float > &remainderTensor, std::size_t entries, std::size_t chunkSize, std::size_t &&offset, const std::vector< std::size_t > &maxVecSizes=std::vector< std::size_t >(), const float vecPadding=0.0)
 
void operator() (const ColTypes &...cols)
 
std::size_t & SetEntries ()
 
std::size_t & SetOffset ()
 

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

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

#include <TMVA/BatchGenerator/RChunkLoader.hxx>

Constructor & Destructor Documentation

◆ RChunkLoaderFunctorFilters()

template<typename... ColTypes>
TMVA::Experimental::Internal::RChunkLoaderFunctorFilters< ColTypes >::RChunkLoaderFunctorFilters ( TMVA::Experimental::RTensor< float > & chunkTensor,
TMVA::Experimental::RTensor< float > & remainderTensor,
std::size_t entries,
std::size_t chunkSize,
std::size_t && offset,
const std::vector< std::size_t > & maxVecSizes = std::vector<std::size_t>(),
const float vecPadding = 0.0 )
inline

Definition at line 117 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::RChunkLoaderFunctorFilters< ColTypes >::AssignToTensor ( const T & val)
inlineprivate

Definition at line 110 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::RChunkLoaderFunctorFilters< ColTypes >::AssignToTensor ( const T & vec)
inlineprivate

Definition at line 92 of file RChunkLoader.hxx.

◆ operator()()

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

Definition at line 132 of file RChunkLoader.hxx.

◆ SetEntries()

template<typename... ColTypes>
std::size_t & TMVA::Experimental::Internal::RChunkLoaderFunctorFilters< ColTypes >::SetEntries ( )
inline

Definition at line 142 of file RChunkLoader.hxx.

◆ SetOffset()

template<typename... ColTypes>
std::size_t & TMVA::Experimental::Internal::RChunkLoaderFunctorFilters< ColTypes >::SetOffset ( )
inline

Definition at line 143 of file RChunkLoader.hxx.

Member Data Documentation

◆ fChunkSize

template<typename... ColTypes>
std::size_t TMVA::Experimental::Internal::RChunkLoaderFunctorFilters< ColTypes >::fChunkSize {}
private

Definition at line 84 of file RChunkLoader.hxx.

◆ fChunkTensor

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

Definition at line 88 of file RChunkLoader.hxx.

◆ fEntries

template<typename... ColTypes>
std::size_t TMVA::Experimental::Internal::RChunkLoaderFunctorFilters< ColTypes >::fEntries {}
private

Definition at line 83 of file RChunkLoader.hxx.

◆ fMaxVecSizes

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

Definition at line 86 of file RChunkLoader.hxx.

◆ fOffset

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

Definition at line 81 of file RChunkLoader.hxx.

◆ fRemainderTensor

template<typename... ColTypes>
TMVA::Experimental::RTensor<float>& TMVA::Experimental::Internal::RChunkLoaderFunctorFilters< ColTypes >::fRemainderTensor
private

Definition at line 89 of file RChunkLoader.hxx.

◆ fVecPadding

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

Definition at line 85 of file RChunkLoader.hxx.

◆ fVecSizeIdx

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

Definition at line 82 of file RChunkLoader.hxx.

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