Skip to content

Commit

Permalink
Update relu_arm.cpp (#189)
Browse files Browse the repository at this point in the history
* Update relu_arm.cpp

* Update prelu_arm.cpp
  • Loading branch information
Feng137 authored and nihui committed Nov 14, 2017
1 parent 4d59d0a commit f232c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layer/arm/prelu_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int PReLU_arm::forward(const Mat& bottom_blob, Mat& top_blob) const
"vdup.f32 q2, %6 \n"
"0: \n"
"pld [%1, #128] \n"
"vld1.f32 {d0-d1}, [%1 :128] \n"
"vld1.f32 {d0-d1}, [%1 :128]! \n"
"vcle.f32 q3, q0, q1 \n"
"vmul.f32 q4, q0, q2 \n"
"vbit.32 q0, q4, q3 \n"
Expand Down
2 changes: 1 addition & 1 deletion src/layer/arm/relu_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int ReLU_arm::forward(const Mat& bottom_blob, Mat& top_blob) const
"vdup.f32 q2, %6 \n"
"0: \n"
"pld [%1, #128] \n"
"vld1.f32 {d0-d1}, [%1 :128] \n"
"vld1.f32 {d0-d1}, [%1 :128]! \n"
"vcle.f32 q3, q0, q1 \n"
"vmul.f32 q4, q0, q2 \n"
"vbit.32 q0, q4, q3 \n"
Expand Down

0 comments on commit f232c1a

Please sign in to comment.