mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-10 02:22:16 +00:00
Update whisper-fbank.h: correct Dim() function (#88)
This commit is contained in:
parent
352aa43ce3
commit
f834ad861d
@ -51,7 +51,7 @@ class WhisperFbankComputer {
|
|||||||
// are ignored
|
// are ignored
|
||||||
explicit WhisperFbankComputer(const WhisperFbankOptions &opts = {});
|
explicit WhisperFbankComputer(const WhisperFbankOptions &opts = {});
|
||||||
|
|
||||||
int32_t Dim() const { return 80; }
|
int32_t Dim() const { return opts_.num_mels; }
|
||||||
|
|
||||||
const FrameExtractionOptions &GetFrameOptions() const {
|
const FrameExtractionOptions &GetFrameOptions() const {
|
||||||
return opts_.frame_opts;
|
return opts_.frame_opts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user