| 119 | } |
| 120 | } |
| 121 | void debug::on_batch_end(model* m) |
| 122 | { |
| 123 | const auto& c = m->get_execution_context(); |
| 124 | if (m_modes.empty() || m_modes.count(c.get_execution_mode()) > 0) { |
| 125 | std::stringstream msg; |
| 126 | msg << rank_string(*m->get_comm()) << ": " |
| 127 | << "ending " << batch_step_string(*m) << std::endl; |
| 128 | std::cerr << msg.str(); |
| 129 | } |
| 130 | } |
| 131 | void debug::on_batch_evaluate_begin(model* m) { on_batch_begin(m); } |
| 132 | void debug::on_batch_evaluate_end(model* m) { on_batch_end(m); } |
| 133 |
no test coverage detected