Skip to content

Conversation

@zhiqiu
Copy link
Contributor

@zhiqiu zhiqiu commented Jul 9, 2021

PR types

Function optimization

PR changes

Others

Describe

  • Remove checks on kwargs in core.VarBase(). When use kwargs, it means the arguments is not required, but we add check on value, it is not needed.
    before
    image
    after
    image

  • Code refinement, split common function and reuse it.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 9, 2021

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

@zhiqiu zhiqiu requested a review from sneaxiy July 9, 2021 10:02
Copy link
Collaborator

@sneaxiy sneaxiy left a comment

Choose a reason for hiding this comment

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

LGTM.

@zhiqiu zhiqiu merged commit dfff52e into PaddlePaddle:develop Jul 9, 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