LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::nets::embd_descr_t Struct Reference

#include </home/runner/work/lima/lima/deeplima/libs/nn/common/layer_descr.h>

Public Member Functions

 embd_descr_t (const std::string &name, size_t dim, unsigned char type=1)
 
 embd_descr_t (const std::string &str)
 
std::string to_string () const
 
void from_string (const std::string &str)
 
bool operator== (const embd_descr_t &other)
 

Public Attributes

std::string m_name
 
size_t m_dim
 
unsigned char m_type
 

Detailed Description

Definition at line 16 of file layer_descr.h.

Constructor & Destructor Documentation

◆ embd_descr_t() [1/2]

deeplima::nets::embd_descr_t::embd_descr_t ( const std::string &  name,
size_t  dim,
unsigned char  type = 1 
)
inline

Definition at line 22 of file layer_descr.h.

◆ embd_descr_t() [2/2]

deeplima::nets::embd_descr_t::embd_descr_t ( const std::string &  str)
inlineexplicit

Definition at line 25 of file layer_descr.h.

Member Function Documentation

◆ from_string()

void deeplima::nets::embd_descr_t::from_string ( const std::string &  str)
inline

Definition at line 37 of file layer_descr.h.

◆ operator==()

bool deeplima::nets::embd_descr_t::operator== ( const embd_descr_t &  other)
inline

Definition at line 47 of file layer_descr.h.

◆ to_string()

std::string deeplima::nets::embd_descr_t::to_string ( ) const
inline

Definition at line 30 of file layer_descr.h.

Member Data Documentation

◆ m_dim

size_t deeplima::nets::embd_descr_t::m_dim

Definition at line 19 of file layer_descr.h.

◆ m_name

std::string deeplima::nets::embd_descr_t::m_name

Definition at line 18 of file layer_descr.h.

◆ m_type

unsigned char deeplima::nets::embd_descr_t::m_type

Definition at line 20 of file layer_descr.h.


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