diff --git a/src/layer/arm/shufflechannel_arm.cpp b/src/layer/arm/shufflechannel_arm.cpp index fdc91946b371..4fdaece7348d 100644 --- a/src/layer/arm/shufflechannel_arm.cpp +++ b/src/layer/arm/shufflechannel_arm.cpp @@ -131,7 +131,8 @@ int ShuffleChannel_arm::forward(const Mat& bottom_blob, Mat& top_blob, const Opt outptr0 += 4; } - for (int i = 0; i < 4; i++) { + for (int i = 0; i < 4; i++) + { if (i % 2) { *outptr = *ptr1; @@ -393,7 +394,8 @@ int ShuffleChannel_arm::forward_bf16s_fp16s(const Mat& bottom_blob, Mat& top_blo outptr0 += 8; } - for (int i = 0; i < 8; i++) { + for (int i = 0; i < 8; i++) + { if (i % 2) { *outptr = *ptr1; @@ -640,7 +642,8 @@ int ShuffleChannel_arm::forward_bf16s_fp16s(const Mat& bottom_blob, Mat& top_blo outptr0 += 4; } - for (int i = 0; i < 4; i++) { + for (int i = 0; i < 4; i++) + { if (i % 2) { *outptr = *ptr1; diff --git a/src/layer/x86/shufflechannel_x86.cpp b/src/layer/x86/shufflechannel_x86.cpp index 1a81f0736633..cf124b163905 100644 --- a/src/layer/x86/shufflechannel_x86.cpp +++ b/src/layer/x86/shufflechannel_x86.cpp @@ -135,7 +135,8 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt outptr += 16; } - for (int i = 0; i < 16; i++) { + for (int i = 0; i < 16; i++) + { if (i % 2) { *outptr = *ptr1; @@ -402,7 +403,8 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt outptr += 8; } - for (int i = 0; i < 8; i++) { + for (int i = 0; i < 8; i++) + { if (i % 2) { *outptr = *ptr1; @@ -649,7 +651,8 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt outptr += 4; } - for (int i = 0; i < 4; i++) { + for (int i = 0; i < 4; i++) + { if (i % 2) { *outptr = *ptr1;