diff --git a/paddle/fluid/inference/tests/api/analyzer_mm_dnn_tester.cc b/paddle/fluid/inference/tests/api/analyzer_mm_dnn_tester.cc index 858bc6d4ead876b891fbf5b9179e88d8d299a9c5..8aaab6d6649e1d4b6db7695df0e9dd219c89422c 100644 --- a/paddle/fluid/inference/tests/api/analyzer_mm_dnn_tester.cc +++ b/paddle/fluid/inference/tests/api/analyzer_mm_dnn_tester.cc @@ -47,7 +47,7 @@ struct DataRecord { for (size_t j = 0; j < data.query_data_all.size(); j++) { // calculate lod data.lod1.push_back(data.lod1.back() + data.query_data_all[j].size()); - data.lod2.push_back(data.lod2.back() + data.query_data_all[j].size()); + data.lod2.push_back(data.lod2.back() + data.title_data_all[j].size()); } } batch_iter += batch_size;