From c292c9ff8e460d859099183e55d035214b6bdb63 Mon Sep 17 00:00:00 2001 From: jim19930609 Date: Mon, 24 Jan 2022 11:33:16 +0000 Subject: [PATCH] Modified backward yaml --- python/paddle/utils/code_gen/backward.yaml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 python/paddle/utils/code_gen/backward.yaml diff --git a/python/paddle/utils/code_gen/backward.yaml b/python/paddle/utils/code_gen/backward.yaml deleted file mode 100644 index 70c89daebf4..00000000000 --- a/python/paddle/utils/code_gen/backward.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- grad_api : matmul_grad - forward : matmul (const Tensor& x, const Tensor& y, bool transpose_x, bool transpose_y) -> Tensor(out) - args : (const Tensor& x, const Tensor& y, const Tensor& out_grad, bool transpose_x=false, bool transpose_y=false) - output : Tensor(x_grad), Tensor(y_grad) - infer_meta : - func : MatmulGradInferMeta - kernel : - func : matmul_grad - -- grad_api : scale_grad - forward : scale (const Tensor& x, const Scalar& scale, float bias, bool bias_after_scale) -> Tensor(out) - args : (const Tensor& out_grad, const Scalar& scale, float bias=0.0, bool bias_after_scale=true) - output : Tensor // dx - invoke : scale(out_grad, scale, bias, bias_after_scale) -- GitLab