Return the function that the solver can use to find out if a snapshot or early exit is being requested.
| 109 | // Return the function that the solver can use to find out if a snapshot or |
| 110 | // early exit is being requested. |
| 111 | ActionCallback SignalHandler::GetActionFunction() { |
| 112 | return boost::bind(&SignalHandler::CheckForSignals, this); |
| 113 | } |
| 114 | |
| 115 | } // namespace caffe |