OnlineNnet2DecodingThreadedConfig Struct Reference

#include <online-nnet2-decoding-threaded.h>

Collaboration diagram for OnlineNnet2DecodingThreadedConfig:

Public Member Functions

 OnlineNnet2DecodingThreadedConfig ()
 
void Check ()
 
void Register (OptionsItf *opts)
 

Public Attributes

LatticeFasterDecoderConfig decoder_opts
 
BaseFloat acoustic_scale
 
int32 max_buffered_features
 
int32 feature_batch_size
 
int32 max_loglikes_copy
 
int32 nnet_batch_size
 
int32 decode_batch_size
 

Detailed Description

Definition at line 121 of file online-nnet2-decoding-threaded.h.

Constructor & Destructor Documentation

◆ OnlineNnet2DecodingThreadedConfig()

Member Function Documentation

◆ Check()

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 164 of file online-nnet2-decoding-threaded.h.

References OptionsItf::Register(), and LatticeFasterDecoderConfig::Register().

Referenced by main().

164  {
165  decoder_opts.Register(opts);
166  opts->Register("acoustic-scale", &acoustic_scale, "Scale used on acoustics "
167  "when decoding");
168  opts->Register("max-buffered-features", &max_buffered_features, "Obscure "
169  "setting, affects multi-threaded decoding.");
170  opts->Register("feature-batch-size", &max_buffered_features, "Obscure "
171  "setting, affects multi-threaded decoding.");
172  opts->Register("nnet-batch-size", &nnet_batch_size, "Maximum batch size "
173  "(in frames) used when evaluating neural net likelihoods");
174  opts->Register("max-loglikes-copy", &max_loglikes_copy, "Obscure "
175  "setting, affects multi-threaded decoding.");
176  opts->Register("decode-batch-sie", &decode_batch_size, "Obscure "
177  "setting, affects multi-threaded decoding.");
178  }

Member Data Documentation

◆ acoustic_scale

◆ decode_batch_size

◆ decoder_opts

◆ feature_batch_size

int32 feature_batch_size

Definition at line 131 of file online-nnet2-decoding-threaded.h.

◆ max_buffered_features

int32 max_buffered_features

Definition at line 127 of file online-nnet2-decoding-threaded.h.

◆ max_loglikes_copy

◆ nnet_batch_size


The documentation for this struct was generated from the following files: