Skip to content

Commit

Permalink
[OpCompat] add assert in op_compat.yaml (#55500)
Browse files Browse the repository at this point in the history
* add assert

* fix

* fix
  • Loading branch information
zrr1999 authored Jul 21, 2023
1 parent 03f0684 commit 2d98758
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions paddle/phi/api/yaml/op_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit 2d98758

Please sign in to comment.