From 0c51170052df602b766e6d0fb3ac241d256f64cb Mon Sep 17 00:00:00 2001 From: nhzlx Date: Thu, 20 Sep 2018 00:57:26 +0000 Subject: [PATCH] fix the ut test error :) --- .../fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc b/paddle/fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc index fcdd3a03a8..4d6492fc14 100644 --- a/paddle/fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc +++ b/paddle/fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc @@ -40,7 +40,7 @@ TEST(TensorRTSubGraphPass, main) { int* max_batch_size = new int(3); int* workspace_size = new int(1 << 20); std::string* precision_mode = new std::string("FP32"); - argument.Set("minimun_subgraph_size", minimum_subgraph_size); + argument.Set("minimum_subgraph_size", minimum_subgraph_size); argument.Set("max_batch_size", max_batch_size); argument.Set("workspace_size", workspace_size); argument.Set("precision_mode", precision_mode); -- GitLab