LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::eigen_wrp::EigenMatrix< M > Class Template Reference

#include <deeplima/eigen_wrp/eigen_matrix.h>

Inheritance diagram for deeplima::eigen_wrp::EigenMatrix< M >:
deeplima::DictEmbdVectorizer< EmbdUInt64FloatHolder, EmbdUInt64Float, eigen_wrp::EigenMatrixXf > deeplima::RnnSeq2Seq deeplima::lemmatization::impl::LemmatizationImpl

Public Types

typedef M matrix_t
 
typedef M::Scalar value_t
 

Public Member Functions

 EigenMatrix ()
 
 EigenMatrix (int64_t max_time, int64_t max_feat)
 
void init (int64_t max_time, int64_t max_feat)
 
void set (uint64_t time, uint64_t feat, value_t value)
 
void set (uint64_t time, EigenMatrix< M > &src, uint64_t src_time)
 
value_t get (uint64_t time, uint64_t feat)
 
uint64_t size () const
 
uint64_t get_max_feat () const
 
const M & get_tensor () const
 

Protected Member Functions

M & get_tensor ()
 

Protected Attributes

int64_t m_start_time
 
int64_t m_max_time
 
M m_tensor
 

Detailed Description

template<class M>
class deeplima::eigen_wrp::EigenMatrix< M >

Definition at line 17 of file eigen_matrix.h.

Member Typedef Documentation

◆ matrix_t

template<class M >
typedef M deeplima::eigen_wrp::EigenMatrix< M >::matrix_t

Definition at line 20 of file eigen_matrix.h.

◆ value_t

template<class M >
typedef M::Scalar deeplima::eigen_wrp::EigenMatrix< M >::value_t

Definition at line 21 of file eigen_matrix.h.

Constructor & Destructor Documentation

◆ EigenMatrix() [1/2]

template<class M >
deeplima::eigen_wrp::EigenMatrix< M >::EigenMatrix ( )
inline

Definition at line 23 of file eigen_matrix.h.

◆ EigenMatrix() [2/2]

template<class M >
deeplima::eigen_wrp::EigenMatrix< M >::EigenMatrix ( int64_t  max_time,
int64_t  max_feat 
)
inline

Definition at line 28 of file eigen_matrix.h.

Member Function Documentation

◆ get()

template<class M >
value_t deeplima::eigen_wrp::EigenMatrix< M >::get ( uint64_t  time,
uint64_t  feat 
)
inline

Definition at line 65 of file eigen_matrix.h.

◆ get_max_feat()

template<class M >
uint64_t deeplima::eigen_wrp::EigenMatrix< M >::get_max_feat ( ) const
inline

Definition at line 78 of file eigen_matrix.h.

◆ get_tensor() [1/2]

template<class M >
M & deeplima::eigen_wrp::EigenMatrix< M >::get_tensor ( )
inlineprotected

Definition at line 90 of file eigen_matrix.h.

◆ get_tensor() [2/2]

template<class M >
const M & deeplima::eigen_wrp::EigenMatrix< M >::get_tensor ( ) const
inline

Definition at line 83 of file eigen_matrix.h.

◆ init()

template<class M >
void deeplima::eigen_wrp::EigenMatrix< M >::init ( int64_t  max_time,
int64_t  max_feat 
)
inline

Definition at line 40 of file eigen_matrix.h.

◆ set() [1/2]

template<class M >
void deeplima::eigen_wrp::EigenMatrix< M >::set ( uint64_t  time,
EigenMatrix< M > &  src,
uint64_t  src_time 
)
inline

Definition at line 60 of file eigen_matrix.h.

◆ set() [2/2]

template<class M >
void deeplima::eigen_wrp::EigenMatrix< M >::set ( uint64_t  time,
uint64_t  feat,
value_t  value 
)
inline

Definition at line 51 of file eigen_matrix.h.

◆ size()

template<class M >
uint64_t deeplima::eigen_wrp::EigenMatrix< M >::size ( ) const
inline

Definition at line 73 of file eigen_matrix.h.

Member Data Documentation

◆ m_max_time

template<class M >
int64_t deeplima::eigen_wrp::EigenMatrix< M >::m_max_time
protected

Definition at line 95 of file eigen_matrix.h.

◆ m_start_time

template<class M >
int64_t deeplima::eigen_wrp::EigenMatrix< M >::m_start_time
protected

Definition at line 94 of file eigen_matrix.h.

◆ m_tensor

template<class M >
M deeplima::eigen_wrp::EigenMatrix< M >::m_tensor
protected

Definition at line 97 of file eigen_matrix.h.


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