提交 1a82132d 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!2065 Add dumpMode option to output mode

Merge pull request !2065 from ghzl/dump_ge_switch_add_dumpMode
......@@ -282,6 +282,7 @@ void MsContext::GetGeOptions(std::map<std::string, std::string> *ge_options) con
(*ge_options)["device_id"] = "0";
(*ge_options)["ge.exec.enableDump"] = std::to_string(enable_dump_);
(*ge_options)["ge.exec.dumpPath"] = save_dump_path_;
(*ge_options)["ge.exec.dumpMode"] = "output";
MS_LOG(INFO) << "The enable dump state is " << std::to_string(enable_dump_) << " and save dump path is "
<< save_dump_path_ << ".";
(*ge_options)["ge.exec.profilingMode"] = std::to_string(profiling_mode_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册