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

[OpCompat] Remove redundant mappings #55448

Merged
merged 3 commits into from
Jul 28, 2023
Merged
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
73 changes: 1 addition & 72 deletions paddle/phi/api/yaml/op_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@
- op : argmax(arg_max)
inputs :
x : X
axis : axis
outputs :
out : Out
scalar:
Expand All @@ -224,7 +223,6 @@
- op : argmin(arg_min)
inputs :
x : X
axis : axis
outputs :
out : Out
scalar:
Expand Down Expand Up @@ -650,18 +648,6 @@
outputs :
{softmax : Softmax, loss : Loss}

- op : cummax
inputs :
{ x : x }
outputs :
{ out : out, indices : indices }

- op : cummin
inputs :
{ x : x }
outputs :
{ out : out, indices : indices }

- op : cumprod
backward : cumprod_grad
inputs :
Expand Down Expand Up @@ -1030,9 +1016,6 @@
- op : feed
outputs: {out: Out}

- op : feed_with_place
outputs: {out: out}

- op : fft_c2c
inputs: {x: X}
outputs: {out: Out}
Expand Down Expand Up @@ -1349,30 +1332,6 @@
outputs :
{out : Out, residual : Residual}

- op : i0
inputs :
{x : x}
outputs :
out : out

- op : i0e
inputs :
{x : x}
outputs :
out : out

- op : i1
inputs :
{x : x}
outputs :
out : out

- op : i1e
inputs :
{x : x}
outputs :
out : out

- op : imag
backward : imag_grad
inputs :
Expand Down Expand Up @@ -1981,12 +1940,6 @@
extra :
attrs : [bool use_mkldnn = false]

- op : nextafter
inputs :
{x : x, y : y}
outputs :
out : out

- op : nll_loss
backward : nll_loss_grad
inputs :
Expand Down Expand Up @@ -2091,12 +2044,6 @@
outputs :
out : Out

- op : polygamma
inputs :
x : x
outputs :
out : out

- op : pool2d
backward : pool2d_grad, pool2d_double_grad
inputs :
Expand Down Expand Up @@ -2465,10 +2412,6 @@
extra :
attrs : [bool use_mkldnn=false]

- op : shaddow_output
inputs: {x: x}
outputs: {out: out}

- op : shape
inputs :
input : Input
Expand Down Expand Up @@ -2856,10 +2799,6 @@
outputs :
out : Out

- op : tril_indices
outputs :
out : out

- op : tril_triu
backward : tril_triu_grad
inputs :
Expand All @@ -2876,10 +2815,6 @@
extra :
attrs : [bool use_mkldnn = false]

- op : triu_indices
outputs :
out : out

- op : trunc
inputs :
input : X
Expand Down Expand Up @@ -3005,12 +2940,6 @@
outputs :
{warpctcgrad : WarpCTCGrad, loss : Loss}

- op : warprnnt
inputs :
{input : input, label : label, input_lengths : input_lengths, label_lengths : label_lengths}
outputs :
{loss : loss, warprnntgrad : warprnntgrad}

- op : where
backward : where_grad
inputs :
Expand Down Expand Up @@ -3085,7 +3014,7 @@
- op: sigmoid_cross_entropy_with_logits
backward: sigmoid_cross_entropy_with_logits_grad
inputs :
{x: X, label: Label, pos_weight : pos_weight}
{x: X, label: Label}
outputs :
out : Out

Expand Down