| 1855 | } |
| 1856 | |
| 1857 | void model::do_model_optimize_begin_cbs() |
| 1858 | { |
| 1859 | for (const auto& cb : m_callbacks) { |
| 1860 | if (get_execution_context().get_step() % cb->get_batch_interval() == 0) { |
| 1861 | cb->on_optimize_begin(this); |
| 1862 | } |
| 1863 | } |
| 1864 | } |
| 1865 | |
| 1866 | void model::do_model_optimize_end_cbs() |
| 1867 | { |
nothing calls this directly
no test coverage detected