Moses::rdlm::ThreadLocal Class Reference

#include <RDLM.h>

List of all members.

Public Member Functions

 ThreadLocal (nplm::neuralTM *lm_head_base_instance_, nplm::neuralTM *lm_label_base_instance_, bool normalizeHeadLM, bool normalizeLabelLM, int cacheSize)
 ~ThreadLocal ()

Public Attributes

std::vector< int > ancestor_heads
std::vector< int > ancestor_labels
std::vector< int > ngram
std::vector< int > heads
std::vector< int > labels
std::vector< int > heads_output
std::vector< int > labels_output
std::vector< std::pair
< InternalTree *, std::vector
< TreePointer >
::const_iterator > > 
stack
nplm::neuralTM * lm_head
nplm::neuralTM * lm_label


Detailed Description

Definition at line 34 of file RDLM.h.


Constructor & Destructor Documentation

Moses::rdlm::ThreadLocal::ThreadLocal ( nplm::neuralTM *  lm_head_base_instance_,
nplm::neuralTM *  lm_label_base_instance_,
bool  normalizeHeadLM,
bool  normalizeLabelLM,
int  cacheSize 
)

Definition at line 16 of file RDLM.cpp.

References lm_head, and lm_label.

Moses::rdlm::ThreadLocal::~ThreadLocal (  ) 

Definition at line 26 of file RDLM.cpp.

References lm_head, and lm_label.


Member Data Documentation

Definition at line 40 of file RDLM.h.

Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().

Definition at line 42 of file RDLM.h.

Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().

Definition at line 41 of file RDLM.h.

Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().

Definition at line 43 of file RDLM.h.

Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().

Definition at line 45 of file RDLM.h.

Referenced by Moses::RDLM::Score(), ThreadLocal(), and ~ThreadLocal().

Definition at line 46 of file RDLM.h.

Referenced by Moses::RDLM::Score(), ThreadLocal(), and ~ThreadLocal().

Definition at line 39 of file RDLM.h.

Referenced by Moses::RDLM::Score().

std::vector<std::pair<InternalTree*,std::vector<TreePointer>::const_iterator> > Moses::rdlm::ThreadLocal::stack

Definition at line 44 of file RDLM.h.

Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().


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

Generated on Thu Jul 6 00:33:59 2017 for Moses by  doxygen 1.5.9