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

Method on_batch_begin

src/callbacks/profiler.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void profiler::on_batch_begin(model* m)
140{
141 const auto& c = m->get_execution_context();
142 prof_region_begin(("batch " + std::to_string(c.get_step())).c_str(),
143 prof_colors[1],
144 m_sync);
145}
146
147void profiler::on_batch_end(model* m)
148{

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