We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a019cd commit 943950cCopy full SHA for 943950c
paddle/fluid/inference/analysis/dfg_graphviz_draw_pass.cc
@@ -46,9 +46,9 @@ std::string DFG_GraphvizDrawPass::Draw(DataFlowGraph *graph) {
46
for (size_t i = 0; i < graph->nodes.size(); i++) {
47
const Node &node = graph->nodes.Get(i);
48
if (!config_.display_deleted_node && node.deleted()) continue;
49
- for (auto &in : node.inlinks) {
50
- if (!config_.display_deleted_node && in->deleted()) continue;
51
- dot.AddEdge(in->repr(), node.repr(), {});
+ for (auto &out : node.outlinks) {
+ if (!config_.display_deleted_node && out->deleted()) continue;
+ dot.AddEdge(node.repr(), out->repr(), {});
52
}
53
54
return dot.Build();
0 commit comments