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

fix expand_v2 and expand_as_v2 bug #38677

Merged
merged 7 commits into from
Jan 6, 2022

Conversation

HexToString
Copy link
Contributor

PR types

Bug fixes

PR changes

OPs

Describe

1、修复了Expand OP 逻辑bug,当输入Tensor X的维度,小于要拓展的Shape时,可能导致取得Out.Shape是错误的。
2、修复了Expand_As OP 只取y.shape,而没有Y变量输入,导致的动转静报错。
3、修复了Expand_As OP 计算输出shape时逻辑的错误。

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jan 4, 2022

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Superjomn
Superjomn previously approved these changes Jan 5, 2022
Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

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

LGTM

@Superjomn Superjomn merged commit aec493c into PaddlePaddle:develop Jan 6, 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.

2 participants