FST
openfst-1.8.2
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) |
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 std::string & | Type () |
static constexpr uint64_t | Properties () |
Additional Inherited Members | |
![]() | |
void | SetValue (const T &f) |
![]() | |
static constexpr std::string_view | GetPrecisionString () |
Definition at line 421 of file float-weight.h.
using fst::LogWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 426 of file float-weight.h.
using fst::LogWeightTpl< T >::ReverseWeight = LogWeightTpl |
Definition at line 425 of file float-weight.h.
|
inlinenoexcept |
Definition at line 428 of file float-weight.h.
|
inline |
Definition at line 430 of file float-weight.h.
|
inline |
Definition at line 444 of file float-weight.h.
|
inlinestatic |
Definition at line 436 of file float-weight.h.
|
inlinestatic |
Definition at line 434 of file float-weight.h.
|
inlinestatic |
Definition at line 459 of file float-weight.h.
|
inline |
Definition at line 449 of file float-weight.h.
|
inline |
Definition at line 457 of file float-weight.h.
|
inlinestatic |
Definition at line 438 of file float-weight.h.
|
inlinestatic |
Definition at line 432 of file float-weight.h.