From 2498395132ab990ab545f87183a2c5e8fdc4dca6 Mon Sep 17 00:00:00 2001 From: Wojciech Uss Date: Fri, 29 Mar 2019 05:08:42 +0100 Subject: [PATCH] remove profiling from int8 test test=develop --- ...alyzer_int8_image_classification_tester.cc | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/paddle/fluid/inference/tests/api/analyzer_int8_image_classification_tester.cc b/paddle/fluid/inference/tests/api/analyzer_int8_image_classification_tester.cc index 880aa6044cd..5a4f9a31a16 100644 --- a/paddle/fluid/inference/tests/api/analyzer_int8_image_classification_tester.cc +++ b/paddle/fluid/inference/tests/api/analyzer_int8_image_classification_tester.cc @@ -164,26 +164,6 @@ TEST(Analyzer_int8_resnet50, quantization) { input_slots_all); } -TEST(Analyzer_int8_resnet50, profile) { - AnalysisConfig cfg; - SetConfig(&cfg); - - std::vector> input_slots_all; - SetInput(&input_slots_all); - - std::shared_ptr> warmup_data = - GetWarmupData(input_slots_all, 100); - - cfg.EnableMkldnnQuantizer(); - cfg.mkldnn_quantizer_config()->SetWarmupData(warmup_data); - cfg.mkldnn_quantizer_config()->SetWarmupBatchSize(100); - - std::vector outputs; - - TestPrediction(reinterpret_cast(&cfg), - input_slots_all, &outputs, FLAGS_num_threads); -} - } // namespace analysis } // namespace inference } // namespace paddle -- GitLab