From cc54e30eccfad7109c000180f6ce96cb31bfd449 Mon Sep 17 00:00:00 2001 From: JepsonWong <2013000149@qq.com> Date: Fri, 6 Mar 2020 08:46:37 +0000 Subject: [PATCH] remove xmap reader, test=develop --- dygraph/ptb_lm/reader.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dygraph/ptb_lm/reader.py b/dygraph/ptb_lm/reader.py index 79c68433..16f29763 100644 --- a/dygraph/ptb_lm/reader.py +++ b/dygraph/ptb_lm/reader.py @@ -128,12 +128,6 @@ def get_reader(data_type, batch_size, num_steps, data_path, vocab_dict): data_reader = get_data_reader() - ret = fluid.io.xmap_readers( - mapper, - data_reader, - 8, - 64, - order=True) - return ret + return data_reader -- GitLab