FST  openfst-1.8.3
OpenFst Library
Public Member Functions | List of all members
fst::FloatWeightGenerate< Weight > Class Template Reference

#include <float-weight.h>

Public Member Functions

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

Detailed Description

template<class Weight>
class fst::FloatWeightGenerate< Weight >

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

Constructor & Destructor Documentation

template<class Weight>
fst::FloatWeightGenerate< Weight >::FloatWeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true,
const size_t  num_random_weights = kNumRandomWeights 
)
inlineexplicit

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

Member Function Documentation

template<class Weight>
Weight fst::FloatWeightGenerate< Weight >::operator() ( ) const
inline

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


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