Skip to content

Commit

Permalink
fix KUNLUN-Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1qqx committed May 19, 2023
1 parent 5dc6680 commit 26e1cf3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ AddActXPUPattern::AddActXPUPattern(PDPattern* pattern,
->assert_var_not_persistable()
->AsInput();
auto ele_out = pattern->NewNode(ele_out_repr())
->assert_is_op_output("elementwise_add", "Out");
->assert_is_op_output("elementwise_add", "Out")
->assert_has_n_outputs(1);
ele_add->LinksFrom({ele_x, ele_y}).LinksTo({ele_out});
ele_out->assert_is_op_input(act_type_, "X");
auto act = pattern->NewNode(act_repr())->assert_is_op(act_type_);
Expand Down

0 comments on commit 26e1cf3

Please sign in to comment.