From 2d98758c1b03c7670de95051930e278d981e15ac Mon Sep 17 00:00:00 2001 From: Zhan Rongrui <46243324+zrr1999@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:45:51 +0800 Subject: [PATCH] [OpCompat] add assert in op_compat.yaml (#55500) * add assert * fix * fix --- paddle/phi/api/yaml/op_compat.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paddle/phi/api/yaml/op_compat.yaml b/paddle/phi/api/yaml/op_compat.yaml index 65888fc8f4c..add6520493e 100755 --- a/paddle/phi/api/yaml/op_compat.yaml +++ b/paddle/phi/api/yaml/op_compat.yaml @@ -266,6 +266,10 @@ extra : attrs : [bool use_mkldnn = false, bool use_cudnn = false] +- op : assert + inputs : + {cond : Cond, data : Data} + - op : assign backward : assign_grad inputs : -- GitLab