提交 37cd8165 编写于 作者: Q qiaolongfei

change 128 to BATCH_SIZE

上级 1e4566ca
......@@ -205,7 +205,8 @@ train_reader = paddle.batch(
def test(cost_name):
test_reader = paddle.batch(paddle.dataset.mnist.test(), batch_size=128)
test_reader = paddle.batch(
paddle.dataset.mnist.test(), batch_size=BATCH_SIZE)
cost = []
error = []
for data in test_reader():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册