diff --git a/paddle/fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc b/paddle/fluid/inference/analysis/tensorrt_subgraph_pass_tester.cc index fcdd3a03a82ad0d1b2afad32cd4904d440d399e3..4d6492fc144a7295768fa120dce012229a374862 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);