| 287 | }; |
| 288 | template<typename Dtype> |
| 289 | void Solver_add_callback(Solver<Dtype> * solver, bp::object on_start, |
| 290 | bp::object on_gradients_ready) { |
| 291 | solver->add_callback(new SolverCallback<Dtype>(on_start, on_gradients_ready)); |
| 292 | } |
| 293 | |
| 294 | // Seems boost cannot call the base method directly |
| 295 | void Solver_add_nccl(Solver<Dtype>* solver |
nothing calls this directly
no test coverage detected