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]Refactor flatten_grad kernel #38712

Merged
merged 6 commits into from
Jan 7, 2022

Conversation

YuanRisheng
Copy link
Contributor

PR types

Others

PR changes

OPs

Describe

refactor flatten_grad kernel and move it into pten

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jan 5, 2022

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

@@ -103,8 +103,6 @@ PT_REGISTER_CTX_KERNEL(flatten,
pten::Flatten,
float,
paddle::platform::float16,
double,
Copy link
Contributor

Choose a reason for hiding this comment

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

为什么需要移除数据类型

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fluid下xpu的类型发生了变化

@chenwhql chenwhql merged commit 5cf0bb7 into PaddlePaddle:develop Jan 7, 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