OnlineCmvnOptions Struct Reference

#include <online-feature.h>

Collaboration diagram for OnlineCmvnOptions:

Public Member Functions

 OnlineCmvnOptions ()
 
void Check () const
 
void Register (ParseOptions *po)
 

Public Attributes

int32 cmn_window
 
int32 speaker_frames
 
int32 global_frames
 
bool normalize_mean
 
bool normalize_variance
 
int32 modulus
 
int32 ring_buffer_size
 
std::string skip_dims
 

Detailed Description

Definition at line 203 of file online-feature.h.

Constructor & Destructor Documentation

◆ OnlineCmvnOptions()

OnlineCmvnOptions ( )
inline

Definition at line 219 of file online-feature.h.

Member Function Documentation

◆ Check()

void Check ( ) const
inline

Definition at line 229 of file online-feature.h.

References KALDI_ASSERT.

◆ Register()

void Register ( ParseOptions po)
inline

Definition at line 234 of file online-feature.h.

References ParseOptions::Register().

Referenced by main().

234  {
235  po->Register("cmn-window", &cmn_window, "Number of frames of sliding "
236  "context for cepstral mean normalization.");
237  po->Register("global-frames", &global_frames, "Number of frames of "
238  "global-average cepstral mean normalization stats to use for "
239  "first utterance of a speaker");
240  po->Register("speaker-frames", &speaker_frames, "Number of frames of "
241  "previous utterance(s) from this speaker to use in cepstral "
242  "mean normalization");
243  // we name the config string "norm-vars" for compatibility with
244  // ../featbin/apply-cmvn.cc
245  po->Register("norm-vars", &normalize_variance, "If true, do "
246  "cepstral variance normalization in addition to cepstral mean "
247  "normalization ");
248  po->Register("norm-means", &normalize_mean, "If true, do mean normalization "
249  "(note: you cannot normalize the variance but not the mean)");
250  po->Register("skip-dims", &skip_dims, "Dimensions to skip normalization of "
251  "(colon-separated list of integers)");}

Member Data Documentation

◆ cmn_window

int32 cmn_window

◆ global_frames

int32 global_frames

Definition at line 206 of file online-feature.h.

Referenced by OnlineCmvn::SmoothOnlineCmvnStats().

◆ modulus

int32 modulus

◆ normalize_mean

bool normalize_mean

Definition at line 207 of file online-feature.h.

Referenced by OnlineCmvn::GetFrame().

◆ normalize_variance

◆ ring_buffer_size

int32 ring_buffer_size

◆ skip_dims

std::string skip_dims

Definition at line 216 of file online-feature.h.

Referenced by OnlineCmvn::OnlineCmvn().

◆ speaker_frames

int32 speaker_frames

Definition at line 205 of file online-feature.h.

Referenced by OnlineCmvn::SmoothOnlineCmvnStats().


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