From 660ff1848837ee984f289f7413fd98710518d798 Mon Sep 17 00:00:00 2001 From: yaoxuefeng Date: Tue, 17 Mar 2020 11:57:40 +0800 Subject: [PATCH] fix datsset test=develop (#23043) --- paddle/fluid/framework/data_set.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/framework/data_set.cc b/paddle/fluid/framework/data_set.cc index 33390ed137..5621770535 100644 --- a/paddle/fluid/framework/data_set.cc +++ b/paddle/fluid/framework/data_set.cc @@ -1087,6 +1087,7 @@ void MultiSlotDataset::SlotsShuffle( random_data.clear(); random_data.shrink_to_fit(); input_channel_->Close(); + cur_channel_ = 0; timeline.Pause(); VLOG(2) << "DatasetImpl::SlotsShuffle() end" -- GitLab