| 77 | } |
| 78 | |
| 79 | std::string MultiTrainer::GetDumpPath(int tid) { |
| 80 | if (!user_define_dump_filename_.empty()) { |
| 81 | return string::format_string("%s/part-%s-%05d", |
| 82 | dump_fields_path_.c_str(), |
| 83 | user_define_dump_filename_.c_str(), |
| 84 | tid); |
| 85 | } |
| 86 | return string::format_string( |
| 87 | "%s/part-%03d-%05d", dump_fields_path_.c_str(), mpi_rank_, tid); |
| 88 | } |
| 89 | |
| 90 | void MultiTrainer::InitDumpEnv() { |
| 91 | queue_ = paddle::framework::MakeChannel<std::string>(); |
nothing calls this directly
no test coverage detected