Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little clean-up in frontend. #901

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Little clean-up in frontend. #901

merged 1 commit into from
Dec 20, 2024

Conversation

ds-hwang
Copy link
Contributor

Before implementing the STFT frontend, the frontend code is refactored to make STFT implementation easier:

  • Move num_filters from BaseFrontend to LogMelFrontend, as it is specific to filter bank configuration.
  • Factor out the part that returns HANN coeffs from the function that applies the HANN window to the input. STFT inverse needs it.

Before implementing the STFT frontend, the frontend code is refactored to make
STFT implementation easier:
* Move num_filters from BaseFrontend to LogMelFrontend, as it is specific to
  filter bank configuration.
* Factor out the part that returns HANN coeffs from the function that applies
  the HANN window to the input. STFT inverse needs it.
@ds-hwang ds-hwang requested review from ruomingp, markblee and a team as code owners December 20, 2024 15:28
@ds-hwang ds-hwang enabled auto-merge December 20, 2024 15:28
@ds-hwang
Copy link
Contributor Author

@ruomingp Could you review? From 961

@ds-hwang ds-hwang added this pull request to the merge queue Dec 20, 2024
Merged via the queue into apple:main with commit f91709f Dec 20, 2024
6 checks passed
@ds-hwang ds-hwang deleted the frontend branch December 20, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants