| 1541 | } |
| 1542 | |
| 1543 | int LGBM_BoosterSaveModel(BoosterHandle handle, |
| 1544 | int start_iteration, |
| 1545 | int num_iteration, |
| 1546 | const char* filename) { |
| 1547 | API_BEGIN(); |
| 1548 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1549 | ref_booster->SaveModelToFile(start_iteration, num_iteration, filename); |
| 1550 | API_END(); |
| 1551 | } |
| 1552 | |
| 1553 | int LGBM_BoosterSaveModel2(BoosterHandle handle, |
| 1554 | int start_iteration, |
no test coverage detected