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】Remove MakePtenDenseTensor in Op compute #38910

Merged
merged 2 commits into from
Jan 17, 2022

Conversation

zyfncg
Copy link
Contributor

@zyfncg zyfncg commented Jan 12, 2022

PR types

Others

PR changes

OPs

Describe

PR38632合入后, PTen kernel 可直接传入framework::Tensor 类型的参数,所以可以移除原Op Compute函数中的Tensor转换逻辑 。本PR中只移除部分OP的Tesnor转换代码,剩余的会在后续PR中移除。

@paddle-bot-old
Copy link

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

Copy link
Contributor

@MingMingShangTian MingMingShangTian left a comment

Choose a reason for hiding this comment

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

LGTM

@zyfncg zyfncg merged commit 04f042a into PaddlePaddle:develop Jan 17, 2022
@zyfncg zyfncg deleted the remove_convert_tensor branch January 17, 2022 05:30
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