Skip to content

Commit b2ee3aa

Browse files
junwhagithub-actions[bot]
authored andcommitted
apply code-format changes
1 parent 190f85b commit b2ee3aa

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

src/layer/arm/shufflechannel_arm.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ int ShuffleChannel_arm::forward(const Mat& bottom_blob, Mat& top_blob, const Opt
131131
outptr0 += 4;
132132
}
133133

134-
for (int i = 0; i < 4; i++) {
134+
for (int i = 0; i < 4; i++)
135+
{
135136
if (i % 2)
136137
{
137138
*outptr = *ptr1;
@@ -393,7 +394,8 @@ int ShuffleChannel_arm::forward_bf16s_fp16s(const Mat& bottom_blob, Mat& top_blo
393394
outptr0 += 8;
394395
}
395396

396-
for (int i = 0; i < 8; i++) {
397+
for (int i = 0; i < 8; i++)
398+
{
397399
if (i % 2)
398400
{
399401
*outptr = *ptr1;
@@ -640,7 +642,8 @@ int ShuffleChannel_arm::forward_bf16s_fp16s(const Mat& bottom_blob, Mat& top_blo
640642
outptr0 += 4;
641643
}
642644

643-
for (int i = 0; i < 4; i++) {
645+
for (int i = 0; i < 4; i++)
646+
{
644647
if (i % 2)
645648
{
646649
*outptr = *ptr1;

src/layer/x86/shufflechannel_x86.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt
135135
outptr += 16;
136136
}
137137

138-
for (int i = 0; i < 16; i++) {
138+
for (int i = 0; i < 16; i++)
139+
{
139140
if (i % 2)
140141
{
141142
*outptr = *ptr1;
@@ -402,7 +403,8 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt
402403
outptr += 8;
403404
}
404405

405-
for (int i = 0; i < 8; i++) {
406+
for (int i = 0; i < 8; i++)
407+
{
406408
if (i % 2)
407409
{
408410
*outptr = *ptr1;
@@ -649,7 +651,8 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt
649651
outptr += 4;
650652
}
651653

652-
for (int i = 0; i < 4; i++) {
654+
for (int i = 0; i < 4; i++)
655+
{
653656
if (i % 2)
654657
{
655658
*outptr = *ptr1;

0 commit comments

Comments
 (0)