16#ifndef TMVA_DNN_ARCHITECTURES_CPU_CPUBUFFER
17#define TMVA_DNN_ARCHITECTURES_CPU_CPUBUFFER
42template<
typename AFloat>
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
FakeIteratorBegin(AFloat &x)
TCpuBuffer GetSubBuffer(size_t offset, size_t start) const
Return sub-buffer of size start starting at element offset.
size_t GetSize() const
copy pointer from an external
void CopyTo(TCpuBuffer &) const
Copy data to another buffer.
TCpuBuffer & operator=(const TCpuBuffer &)=default
AFloat & operator[](size_t i)
AFloat operator[](size_t i) const
TCpuBuffer(TCpuBuffer &&)=default
FakeIteratorBegin begin()
void CopyFrom(const TCpuBuffer &)
Copy data from another buffer.
std::shared_ptr< AFloat * > fBuffer
TCpuBuffer & operator=(TCpuBuffer &&)=default
TCpuBuffer(const TCpuBuffer &)=default
struct TMVA::DNN::TCpuBuffer::TDestructor fDestructor
size_t GetUseCount() const
create variable transformations
void operator()(AFloat **pointer)