Enrich 0d Tensor Dygraph and Shape Unit Test for `case` and `switch_case` (#49889)
Followed PR https://github.com/PaddlePaddle/Paddle/pull/49842 , added Digraph and Shape unit test for `case` and `switch_case`. This PR only contained test changes because `case` and `switch_case` call `cond`. The PR https://github.com/PaddlePaddle/Paddle/pull/49842 has already solved the 0d tensor support.
Showing
想要评论请 注册 或 登录