Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
lm::ngram::SeparatelyQuantize::Bins Class Reference

List of all members.

Public Member Functions

 Bins ()
 Bins (uint8_t bits, const float *const begin)
uint64_t EncodeProb (float value) const
uint64_t EncodeBackoff (float value) const
float Decode (std::size_t off) const
uint8_t Bits () const
uint64_t Mask () const

Private Member Functions

uint64_t Encode (float value, size_t reserved) const

Private Attributes

const float * begin_
const float * end_
uint8_t bits_
uint64_t mask_

Constructor & Destructor Documentation

lm::ngram::SeparatelyQuantize::Bins::Bins ( uint8_t  bits,
const float *const  begin 
)

Member Function Documentation

Here is the caller graph for this function:

float lm::ngram::SeparatelyQuantize::Bins::Decode ( std::size_t  off) const

Here is the caller graph for this function:

uint64_t lm::ngram::SeparatelyQuantize::Bins::Encode ( float  value,
size_t  reserved 
) const [private]

Here is the caller graph for this function:

uint64_t lm::ngram::SeparatelyQuantize::Bins::EncodeBackoff ( float  value) const

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t lm::ngram::SeparatelyQuantize::Bins::EncodeProb ( float  value) const

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:


Member Data Documentation