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

add prelu neon impl #6177

Merged
merged 2 commits into from
Dec 12, 2017
Merged

add prelu neon impl #6177

merged 2 commits into from
Dec 12, 2017

Conversation

NHZlX
Copy link
Contributor

@NHZlX NHZlX commented Dec 1, 2017

fix #6063

@NHZlX NHZlX requested review from hedaoyuan and Xreki December 1, 2017 12:43
Copy link
Contributor

@hedaoyuan hedaoyuan left a comment

Choose a reason for hiding this comment

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

针对enet这个模型中的相应Layer能够加速多少?

@NHZlX
Copy link
Contributor Author

NHZlX commented Dec 6, 2017

@hedaoyuan enent 大约80%的层都使用prelu 作为激活函数。

clang compile armv7 on mi 5

type speed(average time of 100 times enet forward )
with prelu neon 41.671 ms.
normal 47.6933 ms

对enet 加速大约12%

@NHZlX NHZlX merged commit a91efdd into PaddlePaddle:develop Dec 12, 2017
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.

Should add a neon::prelu activation function
2 participants