vmmlib  1.7.0
 All Classes Namespaces Functions Pages
vmml::tensor_mmapper< T, C > Class Template Reference
+ Collaboration diagram for vmml::tensor_mmapper< T, C >:

Public Member Functions

 tensor_mmapper (const std::string &dir_, const std::string &filename_, const bool prot_read_, const C &tx_converter)
 
void get_tensor (T &tensor_)
 

Protected Member Functions

void * t3_allocate_rd_mmap (const std::string &dir_, const std::string &filename_)
 
void * t3_allocate_wr_mmap (const std::string &dir_, const std::string &filename_, const C &tx_converter)
 

Static Protected Member Functions

static std::string concat_path (const std::string &dir_, const std::string &filename_)
 

Protected Attributes

int _fd
 
size_t _file_size
 
size_t _tensor_size
 
void * _data
 
T * _tensor
 

Detailed Description

template<typename T, typename C>
class vmml::tensor_mmapper< T, C >

Definition at line 57 of file tensor_mmapper.hpp.


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