MCPcopy Create free account
hub / github.com/BVLC/caffe / Solver_add_callback

Function Solver_add_callback

python/caffe/_caffe.cpp:289–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287};
288template<typename Dtype>
289void 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
295void Solver_add_nccl(Solver<Dtype>* solver

Callers

nothing calls this directly

Calls 1

add_callbackMethod · 0.80

Tested by

no test coverage detected