Skip to content

Commit bfa230c

Browse files
committed
update test_dist_transpiler
1 parent 74852be commit bfa230c

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
@@ -440,7 +440,7 @@ def transpiler_test_impl(self):
440440
# 2 optimize for table adam
441441
# NOTE: if param is not selected rows, the grad will scaled to grad / trainer_num
442442
self.assertEqual([op.type for op in pserver1.blocks[2].ops],
443-
["sum", "adam", "scale", "scale"])
443+
["sum", "scale", "adam", "scale", "scale"])
444444

445445
trainer, _ = self.get_trainer()
446446
self.assertEqual(len(trainer.blocks), 1)

0 commit comments

Comments
 (0)