Skip to content

Commit

Permalink
fix bug calculate_output in eagerChecker (#51069)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vvsmile authored Mar 2, 2023
1 parent 6161178 commit ff7ce2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/fluid/tests/unittests/op_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,7 @@ def calculate_output(self):
ref_eager_dygraph_outs = (
self.op_test._calc_python_api_output(place)
)
if eager_dygraph_outs is None:
if ref_eager_dygraph_outs is None:
self.is_python_api_test = False
ref_eager_dygraph_outs = (
self.op_test._calc_dygraph_output(
Expand Down

0 comments on commit ff7ce2f

Please sign in to comment.