From 90a74a9f2f17669aef3953c0eb94e7e82c43b603 Mon Sep 17 00:00:00 2001 From: guochaorong Date: Tue, 12 Jun 2018 10:16:09 +0800 Subject: [PATCH] fix code style --- benchmark/fluid/models/resnet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/fluid/models/resnet.py b/benchmark/fluid/models/resnet.py index 98a7d76dfd5..9ed1093c54a 100644 --- a/benchmark/fluid/models/resnet.py +++ b/benchmark/fluid/models/resnet.py @@ -201,8 +201,8 @@ def get_model(args): train_reader, buf_size=5120), batch_size=args.batch_size * args.gpus, drop_last=True) - batched_test_reader = paddle.batch(train_reader, - batch_size=args.batch_size, drop_last=True) + batched_test_reader = paddle.batch( + train_reader, batch_size=args.batch_size, drop_last=True) return avg_cost, inference_program, optimizer, batched_train_reader,\ batched_test_reader, batch_acc -- GitLab