16#ifndef TMVA_DNN_ARCHITECTURES_CPU_CPUBUFFER
17#define TMVA_DNN_ARCHITECTURES_CPU_CPUBUFFER
42template<
typename AFloat>
TCpuBuffer & operator=(const TCpuBuffer &)=default
void CopyFrom(TCpuBuffer &)
Copy data from another buffer.
AFloat & operator[](size_t i)
TCpuBuffer(size_t size)
Construct buffer to hold size numbers of type AFloat.
AFloat operator[](size_t i) const
TCpuBuffer(TCpuBuffer &&)=default
TCpuBuffer GetSubBuffer(size_t offset, size_t start)
Return subbuffer of siez start starting at element offset.
std::shared_ptr< AFloat * > fBuffer
void CopyTo(TCpuBuffer &)
Copy data to another buffer.
TCpuBuffer & operator=(TCpuBuffer &&)=default
TCpuBuffer(const TCpuBuffer &)=default
struct TMVA::DNN::TCpuBuffer::TDestructor fDestructor
create variable transformations
void operator()(AFloat **pointer)