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

Improve expand as #26290

Merged
merged 7 commits into from
Aug 18, 2020
Merged

Conversation

sandyhouse
Copy link

@sandyhouse sandyhouse commented Aug 14, 2020

PR types

Function optimization

PR changes

APIs

Describe

Improve expand as
align the implementation of paddle.expand_as to torch.expand_as.
The different with the original expand_as op is that with the new one, the value of dimension to be expanded must be 1.

@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
Collaborator

@gavin1332 gavin1332 left a comment

Choose a reason for hiding this comment

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

LGTM

@sandyhouse sandyhouse merged commit 638bbb6 into PaddlePaddle:develop Aug 18, 2020
@sandyhouse sandyhouse deleted the improve_expand_as branch April 25, 2021 13:44
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.

None yet

2 participants