Skip to content

Conversation

ZzSean
Copy link
Contributor

@ZzSean ZzSean commented Mar 14, 2022

PR types

Others

PR changes

Others

Describe

[Phi]Move searchsorted kernel to phi

@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

namespace phi {

template <typename T, typename Context>
void SearchsortedKernel(const Context& ctx,
Copy link
Contributor

Choose a reason for hiding this comment

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

按照code style规范,kernel函数名中sorted作为单词首字母大写

Copy link
Contributor Author

Choose a reason for hiding this comment

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

这个op名字就是searchsorted,没有下划线,还需要大写吗?

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

@ZzSean ZzSean merged commit 85f8fd9 into PaddlePaddle:develop Mar 15, 2022
@ZzSean ZzSean deleted the move_searchsorted branch April 14, 2022 09:00
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