Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NewIR] fix hsigmoid_loss #55483

Merged
merged 2 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions paddle/phi/api/yaml/op_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,13 @@
outputs :
out : Out

- op : hsigmoid_loss(hierarchical_sigmoid)
backward: hsigmoid_loss_grad(hierarchical_sigmoid_grad)
inputs:
{x: X, w: W, label: Label, bias: Bias, path: PathTable, code: PathCode}
outputs:
{out: Out, pre_out: PreOut, w_out: W_Out}

- op : huber_loss
backward : huber_loss_grad
inputs :
Expand Down
1 change: 1 addition & 0 deletions test/white_list/new_ir_op_test_white_list
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ test_graph_send_ue_recv_op
test_grid_sampler_op
test_group_norm_op
test_histogram_op
test_histogram_op.py
test_huber_loss_op
test_i0e_op
test_i0_op
Expand Down