Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderbrook committed Aug 24, 2021
1 parent 820d0cf commit f77983a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,7 @@ def _minimize(self,
prog_id = str(id(loss.block.program))
# param_grads of program
params_grads = sorted(
fluid.backward.append_backward(loss, parameters,
no_grad_set),
fluid.backward.append_backward(loss, parameters, no_grad_set),
key=lambda x: x[0].name)

flag_use_ps_gpu = strategy.get("use_ps_gpu", False)
Expand Down

1 comment on commit f77983a

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.