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

#include <float-weight.h>

Public Types

using Weight = MinMaxWeightTpl< T >
 

Public Member Functions

 WeightGenerate (uint64_t seed=std::random_device()(), bool allow_zero=true, size_t num_random_weights=kNumRandomWeights)
 
Weight operator() () const
 

Detailed Description

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

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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

template<class T >
fst::WeightGenerate< MinMaxWeightTpl< T > >::WeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true,
size_t  num_random_weights = kNumRandomWeights 
)
inlineexplicit

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

Member Function Documentation

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

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


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