DecodableNnet2OnlineOptions Struct Reference

#include <online-nnet2-decodable.h>

Collaboration diagram for DecodableNnet2OnlineOptions:

Public Member Functions

 DecodableNnet2OnlineOptions ()
void Register (OptionsItf *opts)

Public Attributes

BaseFloat acoustic_scale
bool pad_input
int32 max_nnet_batch_size

Detailed Description

Definition at line 37 of file online-nnet2-decodable.h.

Constructor & Destructor Documentation

◆ DecodableNnet2OnlineOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 47 of file online-nnet2-decodable.h.

References OptionsItf::Register().

Referenced by OnlineNnet2DecodingConfig::Register().

47  {
48  opts->Register("acoustic-scale", &acoustic_scale,
49  "Scaling factor for acoustic likelihoods");
50  opts->Register("pad-input", &pad_input,
51  "If true, pad acoustic features with required acoustic context "
52  "past edges of file.");
53  opts->Register("max-nnet-batch-size", &max_nnet_batch_size,
54  "Maximum batch size we use in neural-network decodable object, "
55  "in cases where we are not constrained by currently available "
56  "frames (this will rarely make a difference)");
58  }

Member Data Documentation

◆ acoustic_scale

◆ max_nnet_batch_size

◆ pad_input

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