Skip to content

Commit 67fcd89

Browse files
author
Peng Li
committed
fix array style problem
1 parent 35bbb4f commit 67fcd89

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

paddle/gserver/tests/test_ConvUnify.cpp

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -137,25 +137,8 @@ TEST(Layer, convParaUnified) {
137137
checkMatrixEqual(resultCpu, resultGpu);
138138

139139
input = Matrix::create(1, 3 * 3 * 2, false, false);
140-
real inputData2[] = {1,
141-
2,
142-
3,
143-
4,
144-
5,
145-
6,
146-
7,
147-
8,
148-
9,
149-
150-
10,
151-
11,
152-
12,
153-
13,
154-
14,
155-
15,
156-
16,
157-
17,
158-
18};
140+
real inputData2[] = {
141+
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18};
159142
real param2[] = {1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 3, 2, 1};
160143

161144
input->setData(inputData2);

0 commit comments

Comments
 (0)