diff --git a/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py b/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py index fd47dc37e7694de3f088428d2fe677d65c8a784c..76d93259a647eb3e60ca8bdccca5117a143362e4 100644 --- a/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py +++ b/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py @@ -36,7 +36,7 @@ class ParallelExecutorTestingDuringTraining(unittest.TestCase): opt = fluid.optimizer.SGD(learning_rate=0.001) opt.minimize(loss) - batch_size = 32 + batch_size = 16 image = np.random.normal(size=(batch_size, 784)).astype('float32') label = np.random.randint(0, 10, (batch_size, 1), dtype="int64")