Skip to content

Commit

Permalink
[NewIR] elementwise_add 参数名映射修复 (PaddlePaddle#55403)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedContritio authored and wz1qqx committed Jul 31, 2023
1 parent c5eef74 commit 62d8bcc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion paddle/phi/api/yaml/op_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,15 @@
tensor_name : EpsilonTensor

- op : add (elementwise_add)
backward : add_grad (elementwise_add_grad)
backward : add_grad (elementwise_add_grad), add_double_grad (elementwise_add_grad_grad), add_triple_grad (elementwise_add_triple_grad)
inputs :
{x : X, y : Y}
outputs :
{out : Out}
extra :
attrs : [bool use_mkldnn = false, str mkldnn_data_type = "float32",
bool use_quantizer = false, float Scale_x = 1.0f, float Scale_y = 1.0f, float Scale_out = 1.0f]
complex_promote : [X, Y]

- op : add_n (sum)
inputs:
Expand Down

0 comments on commit 62d8bcc

Please sign in to comment.