From 653cd319711030f8953f3dff1cfb3afee336f6d1 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Wed, 9 Jan 2019 19:02:53 +0800 Subject: [PATCH] remote unused code --- paddle/fluid/operators/reader/ctr_reader.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/paddle/fluid/operators/reader/ctr_reader.cc b/paddle/fluid/operators/reader/ctr_reader.cc index e8edbf6602c..f08798794a2 100644 --- a/paddle/fluid/operators/reader/ctr_reader.cc +++ b/paddle/fluid/operators/reader/ctr_reader.cc @@ -310,8 +310,6 @@ void ReadCsvData(const DataDesc& data_desc, std::shared_ptr reader, platform::CPUPlace()); memcpy(label_tensor_data, batch_label.data(), batch_label.size() * sizeof(int64_t)); - auto dim = - framework::make_ddim({static_cast(batch_label.size()), 1}); lod_datas.push_back(label_tensor); // insert tensor for each dense_slots -- GitLab