diff --git a/paddle/fluid/operators/reader/ctr_reader.cc b/paddle/fluid/operators/reader/ctr_reader.cc index e8edbf6602c1f0609cf7976623d5b70bbc80180d..f08798794a2f9fc042800583cbc032d6f12bf3dc 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