未验证 提交 c7248cda 编写于 作者: L liu zhengxi 提交者: GitHub

fix xception precision problem (#22188)

上级 3df38f5c
......@@ -1441,6 +1441,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())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册