FST
openfst-1.7.1
OpenFst Library
|
#include <float-weight.h>
Public Types | |
using | ReverseWeight = LogWeightTpl |
using | Limits = FloatLimits< T > |
![]() | |
using | ValueType = T |
Public Member Functions | |
LogWeightTpl () noexcept | |
constexpr | LogWeightTpl (T f) |
constexpr bool | Member () const |
LogWeightTpl< T > | Quantize (float delta=kDelta) const |
constexpr LogWeightTpl< T > | Reverse () const |
![]() | |
FloatWeightTpl () noexcept | |
constexpr | FloatWeightTpl (T f) |
FloatWeightTpl (const FloatWeightTpl< T > &)=default | |
FloatWeightTpl (FloatWeightTpl< T > &&) noexcept=default | |
FloatWeightTpl< T > & | operator= (const FloatWeightTpl< T > &)=default |
FloatWeightTpl< T > & | operator= (FloatWeightTpl< T > &&) noexcept=default |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
size_t | Hash () const |
constexpr const T & | Value () const |
Static Public Member Functions | |
static constexpr LogWeightTpl | Zero () |
static constexpr LogWeightTpl | One () |
static constexpr LogWeightTpl | NoWeight () |
static const string & | Type () |
static constexpr uint64 | Properties () |
Additional Inherited Members | |
![]() | |
void | SetValue (const T &f) |
![]() | |
static constexpr const char * | GetPrecisionString () |
Definition at line 402 of file float-weight.h.
using fst::LogWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 407 of file float-weight.h.
using fst::LogWeightTpl< T >::ReverseWeight = LogWeightTpl |
Definition at line 406 of file float-weight.h.
|
inlinenoexcept |
Definition at line 409 of file float-weight.h.
|
inline |
Definition at line 411 of file float-weight.h.
|
inline |
Definition at line 425 of file float-weight.h.
|
inlinestatic |
Definition at line 417 of file float-weight.h.
|
inlinestatic |
Definition at line 415 of file float-weight.h.
|
inlinestatic |
Definition at line 440 of file float-weight.h.
|
inline |
Definition at line 430 of file float-weight.h.
|
inline |
Definition at line 438 of file float-weight.h.
|
inlinestatic |
Definition at line 419 of file float-weight.h.
|
inlinestatic |
Definition at line 413 of file float-weight.h.