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

[BUGFIX] Add return self for nn.Layer #36609

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

zh794390558
Copy link
Contributor

@zh794390558 zh794390558 commented Oct 21, 2021

PR types

Bug fixes

PR changes

APIs

Describe

Layer.to return self

@paddle-bot-old
Copy link

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

@zh794390558 zh794390558 changed the title [bugfix] Layer.to reutrn self same to torch [bugfix] Layer.to return self same to torch Oct 21, 2021
Copy link
Member

@ZeyuChen ZeyuChen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@ZeyuChen ZeyuChen changed the title [bugfix] Layer.to return self same to torch [BUGFIX] Add return self for nn.Layer Oct 27, 2021
@ZeyuChen ZeyuChen merged commit facf602 into PaddlePaddle:develop Oct 27, 2021
ghost pushed a commit to piotrekobi/Paddle that referenced this pull request Nov 3, 2021
* Layer.to reutrn self

* add device required
MingMingShangTian pushed a commit to MingMingShangTian/Paddle that referenced this pull request Dec 14, 2021
* Layer.to reutrn self

* add device required
@zh794390558 zh794390558 deleted the layer_to branch April 7, 2022 06:33
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