Skip to content

Add a neon::relu activation function.#4150

Merged
hedaoyuan merged 2 commits intoPaddlePaddle:developfrom
hedaoyuan:mobile
Sep 18, 2017
Merged

Add a neon::relu activation function.#4150
hedaoyuan merged 2 commits intoPaddlePaddle:developfrom
hedaoyuan:mobile

Conversation

@hedaoyuan
Copy link
Contributor

No description provided.

@hedaoyuan hedaoyuan requested a review from Xreki September 18, 2017 06:02
Copy link
Contributor

@Xreki Xreki left a comment

Choose a reason for hiding this comment

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

I have tried the build for arm64, and it works.
LGTM.

INLINE float32x4_t operator()(const float32x4_t a,
const float32x4_t b) const {
return vmulq_f32(a, b);
return vaddq_f32(a, b);
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing the bug, :bowtie:

@hedaoyuan hedaoyuan merged commit d59295f into PaddlePaddle:develop Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants