提交 65f901b3 编写于 作者: T tensor-tang

disable fc gru temporarily

上级 539b3f30
...@@ -73,8 +73,8 @@ void TestVisualPrediction() { ...@@ -73,8 +73,8 @@ void TestVisualPrediction() {
cfg.prog_file = FLAGS_infer_model + "/__model__"; cfg.prog_file = FLAGS_infer_model + "/__model__";
cfg.use_gpu = false; cfg.use_gpu = false;
cfg.device = 0; cfg.device = 0;
// cfg.specify_input_name = true;
cfg.enable_ir_optim = true; cfg.enable_ir_optim = true;
cfg.ir_passes.push_back("fc_gru_fuse_pass");
predictor = predictor =
CreatePaddlePredictor<AnalysisConfig, PaddleEngineKind::kAnalysis>(cfg); CreatePaddlePredictor<AnalysisConfig, PaddleEngineKind::kAnalysis>(cfg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册