提交 2ff12ea2 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1576 Remove useless space in some ir files' name

Merge pull request !1576 from huanghui/master
...@@ -244,8 +244,8 @@ void AscendBackendIRFusionOptimization(const std::shared_ptr<session::KernelGrap ...@@ -244,8 +244,8 @@ void AscendBackendIRFusionOptimization(const std::shared_ptr<session::KernelGrap
(void)optimizer->Optimize(kernel_graph); (void)optimizer->Optimize(kernel_graph);
kernel_graph->SetExecOrderByDefault(); kernel_graph->SetExecOrderByDefault();
if (save_graphs) { if (save_graphs) {
std::string file_path = save_graphs_path + "/" + "hwopt_d_ir_fusion_after" + "_graph_" + std::string file_path =
std::to_string(kernel_graph->graph_id()) + ".ir "; save_graphs_path + "/" + "hwopt_d_ir_fusion_after" + "_graph_" + std::to_string(kernel_graph->graph_id()) + ".ir";
DumpIR(file_path, kernel_graph); DumpIR(file_path, kernel_graph);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册