fix xception precision problem, test=develop (#22124)

release/1.7
liu zhengxi 6 years ago committed by GitHub
parent b1401fb74d
commit 724b13e459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1525,6 +1525,7 @@ PDNode *patterns::ConvElementwiseadd::operator()(PDNode *conv_in) {
auto elementwise_add_op = pattern->NewNode(elementwise_add_op_repr())
->assert_is_op("elementwise_add");
auto elementwise_add_in_y = pattern->NewNode(elementwise_add_in_y_repr())
->assert_is_persistable_var()
->assert_is_op_input("elementwise_add", "Y")
->AsInput();
auto elementwise_add_out = pattern->NewNode(elementwise_add_out_repr())

Loading…
Cancel
Save