| 1235 | } |
| 1236 | |
| 1237 | int LGBM_BoosterNumModelPerIteration(BoosterHandle handle, int* out_tree_per_iteration) { |
| 1238 | API_BEGIN(); |
| 1239 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1240 | *out_tree_per_iteration = ref_booster->GetBoosting()->NumModelPerIteration(); |
| 1241 | API_END(); |
| 1242 | } |
| 1243 | |
| 1244 | int LGBM_BoosterNumberOfTotalModel(BoosterHandle handle, int* out_models) { |
| 1245 | API_BEGIN(); |
nothing calls this directly
no test coverage detected