| 1551 | } |
| 1552 | |
| 1553 | int LGBM_BoosterSaveModel2(BoosterHandle handle, |
| 1554 | int start_iteration, |
| 1555 | int num_iteration, |
| 1556 | int num_labels, |
| 1557 | int num_label, |
| 1558 | const char* filename) { |
| 1559 | API_BEGIN(); |
| 1560 | Booster* ref_booster = reinterpret_cast<Booster*>(handle); |
| 1561 | ref_booster->SaveModelToFile(start_iteration, num_iteration, num_labels, num_label, filename); |
| 1562 | API_END(); |
| 1563 | } |
| 1564 | |
| 1565 | int LGBM_BoosterSaveModelToString(BoosterHandle handle, |
| 1566 | int start_iteration, |
nothing calls this directly
no test coverage detected