提交 f1bf0b94 编写于 作者: L liuruilong

format files

上级 99c7f0cf
...@@ -43,7 +43,7 @@ void sigmoid(const Tensor *X, Tensor *Y) { ...@@ -43,7 +43,7 @@ void sigmoid(const Tensor *X, Tensor *Y) {
DLOG << "outsize=" << out_size; DLOG << "outsize=" << out_size;
DLOG << "innersize=" << inner_size; DLOG << "innersize=" << inner_size;
// <TRICKY-CLANG-FORMAT-PRAGMA-FIX> #pragma omp parallel for #pragma omp parallel for
for (int i = 0; i < out_size; ++i) { for (int i = 0; i < out_size; ++i) {
const float *input_outer_ptr = input + i * inner_size; const float *input_outer_ptr = input + i * inner_size;
float *output_outer_ptr = output + i * inner_size; float *output_outer_ptr = output + i * inner_size;
...@@ -68,6 +68,7 @@ void sigmoid(const Tensor *X, Tensor *Y) { ...@@ -68,6 +68,7 @@ void sigmoid(const Tensor *X, Tensor *Y) {
input_outer_ptr++; input_outer_ptr++;
} }
} }
#else
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册