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 6f9904e commit 9e87fbeCopy full SHA for 9e87fbe
paddle/fluid/framework/details/graph_print_pass.cc
@@ -37,8 +37,6 @@ class GraphvizOp : public GraphvizNode {
37
friend std::ostream& operator<<(std::ostream& sout, const GraphvizOp& op) {
38
sout << "op_" + std::to_string(op.id_) << " [label=\"" << op.node_->Name()
39
<< "\", shape=rect]" << std::endl;
40
- PADDLE_ENFORCE(op.stream_.rdbuf()->in_avail() != 0,
41
- "No inputs outputs. Please call AddEdge first!");
42
sout << op.stream_.str();
43
return sout;
44
}
0 commit comments