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

Method GetActionFunction

src/caffe/util/signal_handler.cpp:111–113  ·  view source on GitHub ↗

Return the function that the solver can use to find out if a snapshot or early exit is being requested.

Source from the content-addressed store, hash-verified

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

Callers 1

trainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected