Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ CherryPick ] Fix bugs when select inputs meeting different shape #46020

Merged

Conversation

2742195759
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

fix select_input with different shape errors:

  1. select_input_with_buildin_type directly return non-undefinedvar branch when meeting undefined var
  2. the output shape of select_input is inferred from inputs.

…undefined-var (PaddlePaddle#45916)

* fix select_input with different shape errors:
1. select_input_with_buildin_type directly return non-undefinedvar branch when meeting undefined var
2. the output shape of select_input is inferred from inputs.

* reverse the logic in select_input
@paddle-bot
Copy link

paddle-bot bot commented Sep 14, 2022

你的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.

@2742195759 2742195759 changed the title [ Dy2Static ] Fix bugs when select inputs meeting different shape [ CherryPick ] Fix bugs when select inputs meeting different shape Sep 15, 2022
Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

apprvoed

@XiaoguangHu01 XiaoguangHu01 merged commit 0048695 into PaddlePaddle:release/2.4 Sep 15, 2022
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.

3 participants