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

[PTen] Unify data layout of pten and fluid #38583

Merged
merged 3 commits into from
Dec 31, 2021

Conversation

chenwhql
Copy link
Contributor

@chenwhql chenwhql commented Dec 29, 2021

PR types

Function optimization

PR changes

Others

Describe

[PTen] Unify data layout of pten and fluid

本PR统一了pten和fluid中两个DataLayout的枚举类实现,没必要重复实现的基础数据结构保持一套实现,避免多余的转换,后续其他数据结构也会陆续统一,并且基础数据结构应该在pten中

统一数据结构的同时会在确保兼容的前提下,对原有数据结构设计不合理之处进行完善,原fluid的AnyLayout枚举值不太合理,进行了适当调整

@paddle-bot-old
Copy link

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

@chenwhql chenwhql merged commit 8d32cef into PaddlePaddle:develop Dec 31, 2021
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.

4 participants