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 3df38f5 commit c7248cdCopy full SHA for c7248cd
paddle/fluid/framework/ir/graph_pattern_detector.cc
@@ -1441,6 +1441,7 @@ PDNode *patterns::ConvElementwiseadd::operator()(PDNode *conv_in) {
1441
auto elementwise_add_op = pattern->NewNode(elementwise_add_op_repr())
1442
->assert_is_op("elementwise_add");
1443
auto elementwise_add_in_y = pattern->NewNode(elementwise_add_in_y_repr())
1444
+ ->assert_is_persistable_var()
1445
->assert_is_op_input("elementwise_add", "Y")
1446
->AsInput();
1447
auto elementwise_add_out = pattern->NewNode(elementwise_add_out_repr())
0 commit comments