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

[CustomOp] Normalized function parameter writing #31588

Conversation

chenwhql
Copy link
Contributor

@chenwhql chenwhql commented Mar 12, 2021

PR types

Function optimization

PR changes

APIs

Describe

[CustomOp] Normalized function parameter writing

For all function inputs, change to use const & format:

  • Make the function writing conform to the programming style guide
  • Reduce copying and improve efficiency
  • At the same time, it is compatible with the written method that has been released in 2.0.1

Copy link
Contributor

@JiabinYang JiabinYang left a comment

Choose a reason for hiding this comment

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

LGTM

@chenwhql chenwhql merged commit 30a627a into PaddlePaddle:develop Mar 15, 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.

2 participants