From 8f8fa38a8ab743fe870aca62c19821f1631b7bf3 Mon Sep 17 00:00:00 2001 From: Asthestarsfalll <72954905+Asthestarsfalll@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:23:25 +0800 Subject: [PATCH] [OpCompat] add fetch and update mish in op_compat.yaml (#55422) * [OpCompat] add fetch and update mish in op_compat.yaml * add missing outputs * fix codestyle --- paddle/phi/api/yaml/op_compat.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/paddle/phi/api/yaml/op_compat.yaml b/paddle/phi/api/yaml/op_compat.yaml index 312031c1f45..f459f2802e7 100755 --- a/paddle/phi/api/yaml/op_compat.yaml +++ b/paddle/phi/api/yaml/op_compat.yaml @@ -1864,7 +1864,9 @@ - op : mish backward : mish_grad inputs: - lambda: threshold + {x : X, lambda : threshold} + outputs: + out: Out extra : attrs : [bool use_mkldnn = false] @@ -2985,6 +2987,10 @@ yolo_loss : GetYoloLossExpectedKernelType yolo_loss_grad : GetYoloLossExpectedKernelType +- op: fetch + inputs: {x: X} + outputs: {out: Out} + - op: full_batch_size_like (fill_constant_batch_size_like) - op: lu -- GitLab