提交 900cf7ad 编写于 作者: C chenjiaoAngel

test=develop

上级 a4c8f9b7
......@@ -4353,7 +4353,7 @@ inline void compute_all_padding_mid_leakyRelu(float* dout,
}
*dout++ = sum > 0.f ? sum : sum * scale[0];
}
// clang-format off
// clang-format off
if (cnt > 0) {
#ifdef __aarch64__
asm volatile(COMPUTE_FIVE_LINE_S1 RESULT_S1_LEAKY_RELU
......@@ -4416,7 +4416,7 @@ inline void compute_all_padding_mid_leakyRelu(float* dout,
"q14",
"q15");
#endif
// clang-format on
// clang-format on
din_ptr_arr[0] -= 4;
}
// clang-format on
......@@ -4489,7 +4489,7 @@ inline void compute_all_padding_mid_leakyRelu_out2(float* dout0,
*dout0++ = sum > 0.f ? sum : sum * scale[0];
*dout1++ = sum1 > 0.f ? sum1 : sum1 * scale[0];
}
// clang-format off
// clang-format off
if (cnt > 0) {
#ifdef __aarch64__
asm volatile(COMPUTE_FIVE_LINE_S1_OUT2 RESULT_S1_LEAKY_RELU_OUT2
......@@ -4559,7 +4559,6 @@ inline void compute_all_padding_mid_leakyRelu_out2(float* dout0,
"q14",
"q15");
#endif
// clang-format on
din_ptr_arr[0] -= 4;
}
// clang-format on
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册