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

use tensor.shape bug not paddle.shape(tensor) #11919

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

wanghuancoder
Copy link
Contributor

paddle.shape(tensor)在最新的动转静(SOT)中,会造成子图打断,进而影响模型性能。统一改成tensor.shape。

Copy link

paddle-bot bot commented Apr 11, 2024

Thanks for your contribution!

Copy link
Collaborator

@tink2123 tink2123 left a comment

Choose a reason for hiding this comment

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

LGTM

@tink2123 tink2123 merged commit 2b3b355 into PaddlePaddle:main Apr 17, 2024
2 checks passed
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