#include <RDLM.h>
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 |
Definition at line 34 of file RDLM.h.
Moses::rdlm::ThreadLocal::ThreadLocal | ( | nplm::neuralTM * | lm_head_base_instance_, | |
nplm::neuralTM * | lm_label_base_instance_, | |||
bool | normalizeHeadLM, | |||
bool | normalizeLabelLM, | |||
int | cacheSize | |||
) |
Moses::rdlm::ThreadLocal::~ThreadLocal | ( | ) |
std::vector<int> Moses::rdlm::ThreadLocal::ancestor_heads |
Definition at line 37 of file RDLM.h.
Referenced by Moses::RDLM::EvaluateWhenApplied(), Moses::RDLM::Score(), and Moses::RDLM::ScoreFile().
std::vector<int> Moses::rdlm::ThreadLocal::ancestor_labels |
Definition at line 38 of file RDLM.h.
Referenced by Moses::RDLM::EvaluateWhenApplied(), Moses::RDLM::Score(), and Moses::RDLM::ScoreFile().
std::vector<int> Moses::rdlm::ThreadLocal::heads |
Definition at line 40 of file RDLM.h.
Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().
std::vector<int> Moses::rdlm::ThreadLocal::heads_output |
Definition at line 42 of file RDLM.h.
Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().
std::vector<int> Moses::rdlm::ThreadLocal::labels |
Definition at line 41 of file RDLM.h.
Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().
std::vector<int> Moses::rdlm::ThreadLocal::labels_output |
Definition at line 43 of file RDLM.h.
Referenced by Moses::RDLM::GetChildHeadsAndLabels(), and Moses::RDLM::Score().
nplm::neuralTM* Moses::rdlm::ThreadLocal::lm_head |
Definition at line 45 of file RDLM.h.
Referenced by Moses::RDLM::Score(), ThreadLocal(), and ~ThreadLocal().
nplm::neuralTM* Moses::rdlm::ThreadLocal::lm_label |
Definition at line 46 of file RDLM.h.
Referenced by Moses::RDLM::Score(), ThreadLocal(), and ~ThreadLocal().
std::vector<int> Moses::rdlm::ThreadLocal::ngram |
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().