Skip to content

Commit 2905dcd

Browse files
committed
fix code format
1 parent 9f3eb91 commit 2905dcd

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

paddle/function/neon/NeonDepthwiseConv.cpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,18 @@ class NeonDepthwiseConvFunction : public ConvFunctionBase {
6666
float* inputPadding = inputData;
6767
int padInputHeight = inputHeight + 2 * paddingH();
6868
int padInputWidth = inputWidth + 2 * paddingW();
69-
int newSize = batchSize * (inputChannels + 1) * padInputHeight * padInputWidth;
69+
int newSize =
70+
batchSize * (inputChannels + 1) * padInputHeight * padInputWidth;
71+
7072
resizeBuffer<Device>(newSize);
7173
inputPadding = reinterpret_cast<float*>(memory_->getBuf());
7274
neon::Padding<float>::run(inputData,
73-
inputPadding,
74-
batchSize * inputChannels,
75-
inputHeight,
76-
inputWidth,
77-
padInputHeight,
78-
padInputWidth);
75+
inputPadding,
76+
batchSize * inputChannels,
77+
inputHeight,
78+
inputWidth,
79+
padInputHeight,
80+
padInputWidth);
7981

8082
std::function<void(
8183
const float*, const float*, int, int, int, int, int, int, float*)>

0 commit comments

Comments
 (0)