From f02698675d0ce833bee27057aec17b86e46a00c0 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 27 Feb 2017 14:51:37 +0800 Subject: [PATCH] Remove test code --- demo/mnist/api_train_v2.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/demo/mnist/api_train_v2.py b/demo/mnist/api_train_v2.py index 67e36e6b201..d5eeb053188 100644 --- a/demo/mnist/api_train_v2.py +++ b/demo/mnist/api_train_v2.py @@ -36,11 +36,6 @@ def main(): trainer = paddle.trainer.SGD(update_equation=adam_optimizer) - reader = paddle.reader.batched( - paddle.reader.shuffle( - paddle.dataset.mnist.train_creator(), buf_size=8192), - batch_size=32) - trainer.train( train_reader=paddle.reader.batched( paddle.reader.shuffle(paddle.dataset.mnist.train_creator(), -- GitLab