Skip to content

Commit 0aa8135

Browse files
authored
Merge pull request #13045 from panyx0718/ir5
fix graph_to_program_test to be platform-independent
2 parents f9e2074 + c720ef9 commit 0aa8135

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/framework/ir/graph_to_program_pass_test.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ void BuildNoCircleGraph(Graph* g) {
6262
v2->outputs.push_back(o3);
6363
v2->outputs.push_back(o4);
6464
v2->inputs.push_back(o2);
65-
// o2->v3->o5
66-
o2->outputs.push_back(v3);
65+
// o4->v3->o5
66+
o4->outputs.push_back(v3);
6767
o5->inputs.push_back(v3);
68-
v3->inputs.push_back(o2);
68+
v3->inputs.push_back(o4);
6969
v3->outputs.push_back(o5);
7070
// o3-v4->o5
7171
o3->outputs.push_back(v4);

0 commit comments

Comments
 (0)