From 1b5a6351af25b62422e40929aef09fab100dbf8c Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Mon, 16 Apr 2018 11:15:47 +0800 Subject: [PATCH] make for_parallel default True --- python/paddle/fluid/layers/io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/layers/io.py b/python/paddle/fluid/layers/io.py index e7d6c4e2521..7c19144ea44 100644 --- a/python/paddle/fluid/layers/io.py +++ b/python/paddle/fluid/layers/io.py @@ -283,7 +283,7 @@ def open_recordio_file(filename, lod_levels, dtypes, pass_num=1, - for_parallel=False): + for_parallel=True): """ Open a RecordIO file @@ -357,7 +357,7 @@ def open_files(filenames, thread_num, buffer_size=None, pass_num=1, - for_parallel=False): + for_parallel=True): """ Open files -- GitLab