From 0be73847054e2078c0d1befd95248fe3cbe01d57 Mon Sep 17 00:00:00 2001 From: phlrain Date: Wed, 23 Mar 2022 02:38:15 +0000 Subject: [PATCH] update --- python/paddle/utils/code_gen/backward.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/python/paddle/utils/code_gen/backward.yaml b/python/paddle/utils/code_gen/backward.yaml index c6611781b69..938a381bf2a 100644 --- a/python/paddle/utils/code_gen/backward.yaml +++ b/python/paddle/utils/code_gen/backward.yaml @@ -56,16 +56,6 @@ kernel : func : abs_grad -- backward_api : relu_grad - forward : relu (Tensor x) -> Tensor(out) - args : (Tensor x, Tensor out_grad) - output : Tensor(x_grad) - infer_meta : - func : UnchangedInferMeta - param : [x] - kernel : - func : relu_grad - - backward_api : trunc_grad forward : trunc (Tensor x) -> Tensor(out) args : (Tensor out_grad) @@ -322,7 +312,7 @@ func : UnchangedInferMeta param : [x] kernel : - func : relu_grad + func : tan_grad - backward_api : tanh_shrink_grad forward : tanh_shrink (Tensor x) -> Tensor(out) @@ -334,7 +324,6 @@ kernel : func : tanh_shrink_grad - - backward_api : silu_grad forward : silu (Tensor x) -> Tensor(out) args : (Tensor x, Tensor out_grad) -- GitLab