From 122544b01ec5bbdbcd461465fbb0a943e4ffc616 Mon Sep 17 00:00:00 2001 From: zhaojiaying01 Date: Fri, 18 Jan 2019 16:47:17 +0800 Subject: [PATCH] code format --- src/operators/kernel/arm/activation_kernel.cpp | 2 +- src/operators/kernel/central-arm-func/gru_unit_arm_func.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operators/kernel/arm/activation_kernel.cpp b/src/operators/kernel/arm/activation_kernel.cpp index da418cf6f3..4aac8a4732 100644 --- a/src/operators/kernel/arm/activation_kernel.cpp +++ b/src/operators/kernel/arm/activation_kernel.cpp @@ -37,7 +37,7 @@ struct ActivationCompute { size_t loop = remain >> 4; remain = remain & 0xF; - #pragma omp parallel for +#pragma omp parallel for for (size_t i = 0; i < loop; ++i) { const float *local_x = x + (i << 4); float *local_y = y + (i << 4); diff --git a/src/operators/kernel/central-arm-func/gru_unit_arm_func.h b/src/operators/kernel/central-arm-func/gru_unit_arm_func.h index af97ef7507..477674c7e9 100644 --- a/src/operators/kernel/central-arm-func/gru_unit_arm_func.h +++ b/src/operators/kernel/central-arm-func/gru_unit_arm_func.h @@ -17,9 +17,9 @@ limitations under the License. */ #pragma once #include -#include "operators/math/math_function.h" #include "operators/kernel/activation_kernel.h" #include "operators/math/gemm.h" +#include "operators/math/math_function.h" #include "operators/op_param.h" namespace paddle_mobile { namespace operators { -- GitLab