From 320c78e16f96dd84e72db45d0a21f79581d9fcc5 Mon Sep 17 00:00:00 2001 From: nhzlx Date: Fri, 12 Oct 2018 11:28:38 +0000 Subject: [PATCH] fix commets test=develop --- paddle/fluid/inference/api/demo_ci/trt_mobilenet_demo.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/paddle/fluid/inference/api/demo_ci/trt_mobilenet_demo.cc b/paddle/fluid/inference/api/demo_ci/trt_mobilenet_demo.cc index 437762785..ffb12b587 100644 --- a/paddle/fluid/inference/api/demo_ci/trt_mobilenet_demo.cc +++ b/paddle/fluid/inference/api/demo_ci/trt_mobilenet_demo.cc @@ -18,15 +18,9 @@ limitations under the License. */ #include #include // use glog instead of CHECK to avoid importing other paddle header files. -#include -#include - -// #include "paddle/fluid/platform/enforce.h" #include "paddle/fluid/inference/demo_ci/utils.h" -#ifdef PADDLE_WITH_CUDA DECLARE_double(fraction_of_gpu_memory_to_use); -#endif DEFINE_string(modeldir, "", "Directory of the inference model."); DEFINE_string(refer, "", "path to reference result for comparison."); DEFINE_string( @@ -38,7 +32,7 @@ namespace paddle { namespace demo { /* - * Use the native fluid engine to inference the demo. + * Use the tensorrt fluid engine to inference the demo. */ void Main() { std::unique_ptr predictor; -- GitLab