提交 1a10c4cd 编写于 作者: Y Yang Zhou

format

上级 ce322a60
......@@ -15,8 +15,8 @@
#pragma once
#include "base/common.h"
#include "frontend/audio/frontend_itf.h"
#include "frontend/audio/feature_common.h"
#include "frontend/audio/frontend_itf.h"
#include "kaldi/feat/feature-fbank.h"
#include "kaldi/feat/feature-mfcc.h"
#include "kaldi/matrix/kaldi-vector.h"
......@@ -42,7 +42,7 @@ class FbankComputer {
Options opts_;
kaldi::FbankComputer computer_;
//DISALLOW_COPY_AND_ASSIGN(FbankComputer);
DISALLOW_COPY_AND_ASSIGN(FbankComputer);
};
typedef StreamingFeatureTpl<FbankComputer> Fbank;
......
......@@ -16,15 +16,15 @@
#pragma once
#include "base/common.h"
#include "frontend/audio/feature_common.h"
#include "frontend/audio/frontend_itf.h"
#include "kaldi/feat/feature-window.h"
#include "frontend/audio/feature_common.h"
namespace ppspeech {
struct LinearSpectrogramOptions {
kaldi::FrameExtractionOptions frame_opts;
LinearSpectrogramOptions(): frame_opts() {}
LinearSpectrogramOptions() : frame_opts() {}
};
class LinearSpectrogramComputer {
......@@ -48,11 +48,10 @@ class LinearSpectrogramComputer {
Options opts_;
int32 frame_length_;
int32 dim_;
DISALLOW_COPY_AND_ASSIGN(LinearSpectrogramComputer);
};
typedef StreamingFeatureTpl<LinearSpectrogramComputer> LinearSpectrogram;
//DISALLOW_COPY_AND_ASSIGN(LinearSpectrogram);
} // namespace ppspeech
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册