FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::WeightGenerate< LogWeightTpl< T > > Class Template Reference

#include <float-weight.h>

Inheritance diagram for fst::WeightGenerate< LogWeightTpl< T > >:
Inheritance graph
[legend]
Collaboration diagram for fst::WeightGenerate< LogWeightTpl< T > >:
Collaboration graph
[legend]

Public Types

using Weight = LogWeightTpl< T >
 
using Generate = FloatWeightGenerate< Weight >
 

Public Member Functions

 WeightGenerate (bool allow_zero=true, size_t num_random_weights=kNumRandomWeights)
 
Weight operator() () const
 
- Public Member Functions inherited from fst::FloatWeightGenerate< LogWeightTpl< T > >
 FloatWeightGenerate (bool allow_zero=true, const size_t num_random_weights=kNumRandomWeights)
 
LogWeightTpl< T > operator() () const
 

Detailed Description

template<class T>
class fst::WeightGenerate< LogWeightTpl< T > >

Definition at line 810 of file float-weight.h.

Member Typedef Documentation

template<class T >
using fst::WeightGenerate< LogWeightTpl< T > >::Generate = FloatWeightGenerate<Weight>

Definition at line 814 of file float-weight.h.

template<class T >
using fst::WeightGenerate< LogWeightTpl< T > >::Weight = LogWeightTpl<T>

Definition at line 813 of file float-weight.h.

Constructor & Destructor Documentation

template<class T >
fst::WeightGenerate< LogWeightTpl< T > >::WeightGenerate ( bool  allow_zero = true,
size_t  num_random_weights = kNumRandomWeights 
)
inlineexplicit

Definition at line 816 of file float-weight.h.

Member Function Documentation

template<class T >
Weight fst::WeightGenerate< LogWeightTpl< T > >::operator() ( ) const
inline

Definition at line 820 of file float-weight.h.


The documentation for this class was generated from the following file: