Skip to content

Commit ed511fe

Browse files
committed
update test_dist_transpiler
1 parent f1554a4 commit ed511fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/tests/unittests/test_dist_transpiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def transpiler_test_impl(self):
438438
# 2 optimize for table adam
439439
# NOTE: if param is not selected rows, the grad will scaled to grad / trainer_num
440440
self.assertEqual([op.type for op in pserver1.blocks[2].ops],
441-
["sum", "adam", "scale", "scale"])
441+
["sum", "scale", "adam", "scale", "scale"])
442442

443443
trainer, _ = self.get_trainer()
444444
self.assertEqual(len(trainer.blocks), 1)

0 commit comments

Comments
 (0)