| 326 | |
| 327 | template <typename Dtype> |
| 328 | void Solver<Dtype>::TestAll() { |
| 329 | for (int test_net_id = 0; |
| 330 | test_net_id < test_nets_.size() && !requested_early_exit_; |
| 331 | ++test_net_id) { |
| 332 | Test(test_net_id); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | template <typename Dtype> |
| 337 | void Solver<Dtype>::Test(const int test_net_id) { |