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

Extract apply_backward_pass to backward.py #5026

Merged
merged 4 commits into from
Oct 24, 2017

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Oct 23, 2017

Rename apply_backward_pass to append_backward_ops

Rename apply_backward_pass to append_backward_ops
@@ -90,45 +92,6 @@ def _get_accumulator(self, name, param):
format(name, param.name))
return self._accumulators[name][param.name]

def create_backward_pass(self, loss, parameter_list=None, no_grad_set=None):
Copy link
Member

Choose a reason for hiding this comment

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

Optimizer中的接口应该保留

Copy link
Member

Choose a reason for hiding this comment

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

我觉得如果要删,也可以专门用一个pr来删,包括design一起修改,先提出来就行了

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

jacquesqiao
jacquesqiao previously approved these changes Oct 24, 2017
Copy link
Member

@jacquesqiao jacquesqiao left a comment

Choose a reason for hiding this comment

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

LGTM

@reyoung reyoung merged commit dd0008d into PaddlePaddle:develop Oct 24, 2017
@reyoung reyoung deleted the feature/extract_backward branch October 28, 2017 22:12
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