提交 c720ef97 编写于 作者: X Xin Pan

fix graph_to_program_test to be platform-independent

上级 55f240ba
...@@ -62,10 +62,10 @@ void BuildNoCircleGraph(Graph* g) { ...@@ -62,10 +62,10 @@ void BuildNoCircleGraph(Graph* g) {
v2->outputs.push_back(o3); v2->outputs.push_back(o3);
v2->outputs.push_back(o4); v2->outputs.push_back(o4);
v2->inputs.push_back(o2); v2->inputs.push_back(o2);
// o2->v3->o5 // o4->v3->o5
o2->outputs.push_back(v3); o4->outputs.push_back(v3);
o5->inputs.push_back(v3); o5->inputs.push_back(v3);
v3->inputs.push_back(o2); v3->inputs.push_back(o4);
v3->outputs.push_back(o5); v3->outputs.push_back(o5);
// o3-v4->o5 // o3-v4->o5
o3->outputs.push_back(v4); o3->outputs.push_back(v4);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册