MCPcopy Create free account
hub / github.com/LBANN/lbann / on_batch_evaluate_begin

Method on_batch_evaluate_begin

src/callbacks/profiler.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void profiler::on_batch_evaluate_begin(model* m)
154{
155 const auto& c = m->get_execution_context();
156 prof_region_begin(("batch eval " + std::to_string(c.get_step())).c_str(),
157 prof_colors[1],
158 m_sync);
159}
160
161void profiler::on_batch_evaluate_end(model* m)
162{

Callers

nothing calls this directly

Calls 3

prof_region_beginFunction · 0.85
get_stepMethod · 0.80
to_stringFunction · 0.70

Tested by

no test coverage detected