Skip to content

Commit

Permalink
fix trainer_pass.py (PaddlePaddle#37779)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmxdream authored and Zjq9409 committed Dec 10, 2021
1 parent d947f64 commit bad787e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def _append_heter_op(op, current_heter_block_ops, heter_ops):
"""
output_vars_no_grad = []
for key in pre_op.output_names:
for key in op.output_names:
for varname in op.output(key):
if varname == "@EMPTY@":
continue
Expand Down

0 comments on commit bad787e

Please sign in to comment.