MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / initialize

Method initialize

tools/mtmd/mtmd-audio.cpp:527–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525//
526
527void mtmd_audio_preprocessor_whisper::initialize() {
528 cache.fill_sin_cos_table(hparams.audio_n_fft);
529 cache.fill_hann_window(hparams.audio_window_len, true);
530 cache.fill_mel_filterbank_matrix(hparams.n_mel_bins, hparams.audio_n_fft, hparams.audio_sample_rate);
531}
532
533bool mtmd_audio_preprocessor_whisper::preprocess(const float * samples,
534 size_t n_samples,

Callers 1

init_audioMethod · 0.45

Calls 4

fill_sin_cos_tableMethod · 0.80
fill_hann_windowMethod · 0.80
assignMethod · 0.80

Tested by

no test coverage detected