LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t Struct Reference

slot_t represents the part of the job processed by a classifier thread (tokenizer or tagger). More...

#include <deeplima/nets/birnn_seq_cls.h>

Public Member Functions

 slot_t ()
 
 slot_t (const slot_t &s)
 
 ~slot_t ()=default
 
slot_t & operator= (const slot_t &s)
 

Public Attributes

uint64_t m_input_begin
 
uint64_t m_input_end
 
uint64_t m_output_begin
 
uint64_t m_output_end
 
slot_flags_t m_flags
 
bool m_work_started
 
std::atomic< uint8_t > m_lock_count
 
slot_t * m_prev
 
slot_t * m_next
 
std::vector< size_t > m_lengths
 

Detailed Description

template<class Model, class InputVectorizer, class Out>
struct deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t

slot_t represents the part of the job processed by a classifier thread (tokenizer or tagger).

Definition at line 100 of file birnn_seq_cls.h.

Constructor & Destructor Documentation

◆ slot_t() [1/2]

template<class Model , class InputVectorizer , class Out >
deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::slot_t ( )
inline

Definition at line 120 of file birnn_seq_cls.h.

◆ slot_t() [2/2]

template<class Model , class InputVectorizer , class Out >
deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::slot_t ( const slot_t &  s)
inline

Definition at line 132 of file birnn_seq_cls.h.

◆ ~slot_t()

template<class Model , class InputVectorizer , class Out >
deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::~slot_t ( )
default

Member Function Documentation

◆ operator=()

template<class Model , class InputVectorizer , class Out >
slot_t & deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::operator= ( const slot_t &  s)
inline

Definition at line 145 of file birnn_seq_cls.h.

Member Data Documentation

◆ m_flags

template<class Model , class InputVectorizer , class Out >
slot_flags_t deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_flags

Definition at line 110 of file birnn_seq_cls.h.

◆ m_input_begin

template<class Model , class InputVectorizer , class Out >
uint64_t deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_input_begin

Definition at line 103 of file birnn_seq_cls.h.

◆ m_input_end

template<class Model , class InputVectorizer , class Out >
uint64_t deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_input_end

Definition at line 104 of file birnn_seq_cls.h.

◆ m_lengths

template<class Model , class InputVectorizer , class Out >
std::vector<size_t> deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_lengths

Definition at line 118 of file birnn_seq_cls.h.

◆ m_lock_count

template<class Model , class InputVectorizer , class Out >
std::atomic<uint8_t> deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_lock_count

Definition at line 113 of file birnn_seq_cls.h.

◆ m_next

template<class Model , class InputVectorizer , class Out >
slot_t* deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_next

Definition at line 116 of file birnn_seq_cls.h.

◆ m_output_begin

template<class Model , class InputVectorizer , class Out >
uint64_t deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_output_begin

Definition at line 107 of file birnn_seq_cls.h.

◆ m_output_end

template<class Model , class InputVectorizer , class Out >
uint64_t deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_output_end

Definition at line 108 of file birnn_seq_cls.h.

◆ m_prev

template<class Model , class InputVectorizer , class Out >
slot_t* deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_prev

Definition at line 115 of file birnn_seq_cls.h.

◆ m_work_started

template<class Model , class InputVectorizer , class Out >
bool deeplima::RnnSequenceClassifier< Model, InputVectorizer, Out >::slot_t::m_work_started

Definition at line 112 of file birnn_seq_cls.h.


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