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

Method do_model_optimize_end_cbs

src/models/model.cpp:1866–1873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1864}
1865
1866void model::do_model_optimize_end_cbs()
1867{
1868 for (const auto& cb : m_callbacks) {
1869 if (get_execution_context().get_step() % cb->get_batch_interval() == 0) {
1870 cb->on_optimize_end(this);
1871 }
1872 }
1873}
1874
1875void model::do_weight_optimize_begin_cbs(weights* w)
1876{

Callers

nothing calls this directly

Calls 3

get_stepMethod · 0.80
get_batch_intervalMethod · 0.80
on_optimize_endMethod · 0.45

Tested by

no test coverage detected