From c720ef972b254a5dcb48036b3b74190db39233be Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Wed, 29 Aug 2018 15:41:02 +0800 Subject: [PATCH] fix graph_to_program_test to be platform-independent --- paddle/fluid/framework/ir/graph_to_program_pass_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/framework/ir/graph_to_program_pass_test.cc b/paddle/fluid/framework/ir/graph_to_program_pass_test.cc index 88ad17a0c65..5d51d9751a2 100644 --- a/paddle/fluid/framework/ir/graph_to_program_pass_test.cc +++ b/paddle/fluid/framework/ir/graph_to_program_pass_test.cc @@ -62,10 +62,10 @@ void BuildNoCircleGraph(Graph* g) { v2->outputs.push_back(o3); v2->outputs.push_back(o4); v2->inputs.push_back(o2); - // o2->v3->o5 - o2->outputs.push_back(v3); + // o4->v3->o5 + o4->outputs.push_back(v3); o5->inputs.push_back(v3); - v3->inputs.push_back(o2); + v3->inputs.push_back(o4); v3->outputs.push_back(o5); // o3-v4->o5 o3->outputs.push_back(v4); -- GitLab