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

Accelerate mfcc computation for DS2. #189

Merged
merged 1 commit into from
Aug 8, 2017

Conversation

xinghai-sun
Copy link
Contributor

  1. Put np.transpose on small tensor instead of larger tensor.
  2. Use np.concatenate directly on ndarray instead of converting it to list and back to ndarray again.

Speedup by 2x for MFCC computation.

@xinghai-sun xinghai-sun requested review from kuke and pkuyym August 8, 2017 07:52
Copy link
Collaborator

@kuke kuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xinghai-sun xinghai-sun merged commit d504e42 into PaddlePaddle:develop Aug 8, 2017
@xinghai-sun xinghai-sun deleted the mfcc_update branch August 8, 2017 08:00
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