MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Initialize

Method Initialize

tensorflow/core/kernels/mfcc.cc:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 dct_coefficient_count_(kDefaultDCTCoefficientCount) {}
36
37bool Mfcc::Initialize(int input_length, double input_sample_rate) {
38 bool initialized = mel_filterbank_.Initialize(
39 input_length, input_sample_rate, filterbank_channel_count_,
40 lower_frequency_limit_, upper_frequency_limit_);
41 initialized &=
42 dct_.Initialize(filterbank_channel_count_, dct_coefficient_count_);
43 initialized_ = initialized;
44 return initialized;
45}
46
47void Mfcc::Compute(const std::vector<double>& spectrogram_frame,
48 std::vector<double>* output) const {

Callers 13

ComputeMatrixMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
ComputeMethod · 0.45
ComputeOptionsMethod · 0.45
DoComputeFunction · 0.45
SdcaShrinkL1Method · 0.45
TESTFunction · 0.45
ComputeMethod · 0.45
CreateTypedQueueMethod · 0.45

Calls

no outgoing calls

Tested by 5

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
ComputeMethod · 0.36
TESTFunction · 0.36