diff --git a/paddle/fluid/inference/tests/api/analyzer_vis_tester.cc b/paddle/fluid/inference/tests/api/analyzer_vis_tester.cc index 7a1bb32a577164e5f99424452d28bc3f45a9639e..67bde723042f24326909dea1ed4305ede21dc824 100644 --- a/paddle/fluid/inference/tests/api/analyzer_vis_tester.cc +++ b/paddle/fluid/inference/tests/api/analyzer_vis_tester.cc @@ -73,8 +73,8 @@ void TestVisualPrediction() { cfg.prog_file = FLAGS_infer_model + "/__model__"; cfg.use_gpu = false; cfg.device = 0; - // cfg.specify_input_name = true; cfg.enable_ir_optim = true; + cfg.ir_passes.push_back("fc_gru_fuse_pass"); predictor = CreatePaddlePredictor(cfg);