#include <iostream>
#include "feat/feature-mfcc.h"
#include "base/kaldi-math.h"
#include "matrix/kaldi-matrix-inl.h"
#include "feat/wave-reader.h"
Go to the source code of this file.
Functions | |
static void | UnitTestCompareWithDeltaFeatures (Matrix< BaseFloat > &raw_features, int32 window) |
static void | UnitTestParams (Matrix< BaseFloat > &raw_features, int32 window, int32 shift, int32 n_blocks) |
static void | UnitTestEndEffects (Matrix< BaseFloat > &raw_features, int32 window, int32 shift, int32 n_blocks) |
int | main () |
int main | ( | ) |
Definition at line 133 of file feature-sdc-test.cc.
References OfflineFeatureTpl< F >::Compute(), WaveData::Data(), FrameExtractionOptions::dither, MfccOptions::frame_opts, KALDI_ASSERT, MatrixBase< Real >::NumRows(), WaveData::Read(), UnitTestCompareWithDeltaFeatures(), UnitTestEndEffects(), and UnitTestParams().
|
static |
Definition at line 30 of file feature-sdc-test.cc.
References kaldi::ComputeDeltas(), kaldi::ComputeShiftedDeltas(), rnnlm::i, rnnlm::j, KALDI_ASSERT, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), DeltaFeaturesOptions::window, and ShiftedDeltaFeaturesOptions::window.
Referenced by main().
|
static |
Definition at line 106 of file feature-sdc-test.cc.
References ShiftedDeltaFeaturesOptions::block_shift, kaldi::ComputeShiftedDeltas(), rnnlm::i, rnnlm::j, KALDI_ASSERT, ShiftedDeltaFeaturesOptions::num_blocks, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), and ShiftedDeltaFeaturesOptions::window.
Referenced by main().
|
static |
Definition at line 63 of file feature-sdc-test.cc.
References ShiftedDeltaFeaturesOptions::block_shift, kaldi::ComputeShiftedDeltas(), rnnlm::i, rnnlm::j, KALDI_ASSERT, ShiftedDeltaFeaturesOptions::num_blocks, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), and ShiftedDeltaFeaturesOptions::window.
Referenced by main().