Logo ROOT  
Reference Guide
TMVA::DNN::TBatch< AArchitecture > Class Template Reference

template<typename AArchitecture>
class TMVA::DNN::TBatch< AArchitecture >

TBatch.

Class representing training batches consisting of a matrix of input data and a matrix of output data. The input and output data can be accessed using the GetInput() and GetOutput() member functions.

Template Parameters
AArchitectureThe underlying architecture.

Definition at line 54 of file DataLoader.h.

Public Member Functions

 TBatch (const TBatch &)=default
 
 TBatch (Matrix_t &, Matrix_t &, Matrix_t &)
 
 TBatch (TBatch &&)=default
 
Matrix_tGetInput ()
 Return the matrix representing the input data. More...
 
Matrix_tGetOutput ()
 Return the matrix representing the output data. More...
 
Matrix_tGetWeights ()
 Return the matrix holding the event weights. More...
 
TBatchoperator= (const TBatch &)=default
 
TBatchoperator= (TBatch &&)=default
 

Private Types

using Matrix_t = typename AArchitecture::Matrix_t
 

Private Attributes

Matrix_t fInputMatrix
 
Matrix_t fOutputMatrix
 
Matrix_t fWeightMatrix
 

#include <TMVA/DNN/DataLoader.h>

Member Typedef Documentation

◆ Matrix_t

template<typename AArchitecture >
using TMVA::DNN::TBatch< AArchitecture >::Matrix_t = typename AArchitecture::Matrix_t
private

Definition at line 58 of file DataLoader.h.

Constructor & Destructor Documentation

◆ TBatch() [1/3]

template<typename AArchitecture >
TMVA::DNN::TBatch< AArchitecture >::TBatch ( Matrix_t inputMatrix,
Matrix_t outputMatrix,
Matrix_t weightMatrix 
)

Definition at line 192 of file DataLoader.h.

◆ TBatch() [2/3]

template<typename AArchitecture >
TMVA::DNN::TBatch< AArchitecture >::TBatch ( const TBatch< AArchitecture > &  )
default

◆ TBatch() [3/3]

template<typename AArchitecture >
TMVA::DNN::TBatch< AArchitecture >::TBatch ( TBatch< AArchitecture > &&  )
default

Member Function Documentation

◆ GetInput()

template<typename AArchitecture >
Matrix_t & TMVA::DNN::TBatch< AArchitecture >::GetInput ( )
inline

Return the matrix representing the input data.

Definition at line 72 of file DataLoader.h.

◆ GetOutput()

template<typename AArchitecture >
Matrix_t & TMVA::DNN::TBatch< AArchitecture >::GetOutput ( )
inline

Return the matrix representing the output data.

Definition at line 74 of file DataLoader.h.

◆ GetWeights()

template<typename AArchitecture >
Matrix_t & TMVA::DNN::TBatch< AArchitecture >::GetWeights ( )
inline

Return the matrix holding the event weights.

Definition at line 76 of file DataLoader.h.

◆ operator=() [1/2]

template<typename AArchitecture >
TBatch & TMVA::DNN::TBatch< AArchitecture >::operator= ( const TBatch< AArchitecture > &  )
default

◆ operator=() [2/2]

template<typename AArchitecture >
TBatch & TMVA::DNN::TBatch< AArchitecture >::operator= ( TBatch< AArchitecture > &&  )
default

Member Data Documentation

◆ fInputMatrix

template<typename AArchitecture >
Matrix_t TMVA::DNN::TBatch< AArchitecture >::fInputMatrix
private

Definition at line 60 of file DataLoader.h.

◆ fOutputMatrix

template<typename AArchitecture >
Matrix_t TMVA::DNN::TBatch< AArchitecture >::fOutputMatrix
private

Definition at line 61 of file DataLoader.h.

◆ fWeightMatrix

template<typename AArchitecture >
Matrix_t TMVA::DNN::TBatch< AArchitecture >::fWeightMatrix
private

Definition at line 62 of file DataLoader.h.


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