FST
openfst-1.8.4
OpenFst Library
|
#include <float-weight.h>
Public Types | |
using | ReverseWeight = RealWeightTpl |
using | Limits = FloatLimits< T > |
![]() | |
using | ValueType = T |
Public Member Functions | |
RealWeightTpl () noexcept | |
constexpr | RealWeightTpl (T f) |
constexpr bool | Member () const |
RealWeightTpl< T > | Quantize (float delta=kDelta) const |
constexpr RealWeightTpl< T > | Reverse () const |
![]() | |
FloatWeightTpl () noexcept=default | |
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 RealWeightTpl | Zero () |
static constexpr RealWeightTpl | One () |
static constexpr RealWeightTpl | 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 666 of file float-weight.h.
using fst::RealWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 671 of file float-weight.h.
using fst::RealWeightTpl< T >::ReverseWeight = RealWeightTpl |
Definition at line 670 of file float-weight.h.
|
inlinenoexcept |
Definition at line 673 of file float-weight.h.
|
inline |
Definition at line 675 of file float-weight.h.
|
inline |
Definition at line 689 of file float-weight.h.
|
inlinestatic |
Definition at line 681 of file float-weight.h.
|
inlinestatic |
Definition at line 679 of file float-weight.h.
|
inlinestatic |
Definition at line 704 of file float-weight.h.
|
inline |
Definition at line 694 of file float-weight.h.
|
inline |
Definition at line 702 of file float-weight.h.
|
inlinestatic |
Definition at line 683 of file float-weight.h.
|
inlinestatic |
Definition at line 677 of file float-weight.h.