Skip to content

Add 0d Tensor Test Cases for cond, case, switch_case#49544

Merged
zhhsplendid merged 3 commits into
PaddlePaddle:developfrom
zhhsplendid:0d_tensor
Jan 5, 2023
Merged

Add 0d Tensor Test Cases for cond, case, switch_case#49544
zhhsplendid merged 3 commits into
PaddlePaddle:developfrom
zhhsplendid:0d_tensor

Conversation

@zhhsplendid

Copy link
Copy Markdown
Member

PR types

Others

PR changes

Others

Describe

Add 0d Tensor Test Cases for cond, case, switch_case. Since the 3 APIs are control flow APIs, their support for 0d tensor relies on the underneath APIs. This PR just added test cases to prove that the 3 APIs have already handled 0d tensor well.

@paddle-bot

paddle-bot Bot commented Jan 4, 2023

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Aurelius84 Aurelius84 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhhsplendid zhhsplendid merged commit d5f1e30 into PaddlePaddle:develop Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants