Joshua
open source statistical hierarchical phrase-based machine translation system
|
#include <quantize.hh>
Classes | |
class | LongestPointer |
class | MiddlePointer |
Public Member Functions | |
DontQuantize () | |
void | SetupMemory (void *, unsigned char, const Config &) |
void | Train (uint8_t, std::vector< float > &, std::vector< float > &) |
void | TrainProb (uint8_t, std::vector< float > &) |
void | FinishedLoading (const Config &) |
Static Public Member Functions | |
static void | UpdateConfigFromBinary (const BinaryFormat &, uint64_t, Config &) |
static uint64_t | Size (uint8_t, const Config &) |
static uint8_t | MiddleBits (const Config &) |
static uint8_t | LongestBits (const Config &) |
Static Public Attributes | |
static const ModelType | kModelTypeAdd = static_cast<ModelType>(0) |
static const bool | kTrain = false |
void lm::ngram::DontQuantize::FinishedLoading | ( | const Config & | ) |
static uint8_t lm::ngram::DontQuantize::LongestBits | ( | const Config & | ) | [static] |
static uint8_t lm::ngram::DontQuantize::MiddleBits | ( | const Config & | ) | [static] |
void lm::ngram::DontQuantize::SetupMemory | ( | void * | , |
unsigned | char, | ||
const Config & | |||
) |
static uint64_t lm::ngram::DontQuantize::Size | ( | uint8_t | , |
const Config & | |||
) | [static] |
void lm::ngram::DontQuantize::Train | ( | uint8_t | , |
std::vector< float > & | , | ||
std::vector< float > & | |||
) |
void lm::ngram::DontQuantize::TrainProb | ( | uint8_t | , |
std::vector< float > & | |||
) |
static void lm::ngram::DontQuantize::UpdateConfigFromBinary | ( | const BinaryFormat & | , |
uint64_t | , | ||
Config & | |||
) | [static] |
const ModelType lm::ngram::DontQuantize::kModelTypeAdd = static_cast<ModelType>(0) [static] |
const bool lm::ngram::DontQuantize::kTrain = false [static] |