OnlineFeatureMatrixOptions Struct Reference

#include <online-feat-input.h>

Collaboration diagram for OnlineFeatureMatrixOptions:

Public Member Functions

 OnlineFeatureMatrixOptions ()
void Register (OptionsItf *opts)

Public Attributes

int32 batch_size
int32 num_tries

Detailed Description

Definition at line 352 of file online-feat-input.h.

Constructor & Destructor Documentation

◆ OnlineFeatureMatrixOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 358 of file online-feat-input.h.

References OptionsItf::Register().

Referenced by main().

358  {
359  opts->Register("batch-size", &batch_size,
360  "Number of feature vectors processed w/o interruption");
361  opts->Register("num-tries", &num_tries,
362  "Number of successive repetitions of timeout before we "
363  "terminate stream");
364  }

Member Data Documentation

◆ batch_size

int32 batch_size

Definition at line 353 of file online-feat-input.h.

◆ num_tries

int32 num_tries

Definition at line 354 of file online-feat-input.h.

Referenced by kaldi::TestOnlineFeatureMatrix().

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