| 716 | } |
| 717 | |
| 718 | void TLearnProgress::PrepareForContinuation() { |
| 719 | InitTreesSize = SafeIntegerCast<ui32>(TreeStruct.size()); |
| 720 | MetricsAndTimeHistory = TMetricsAndTimeLeftHistory(); |
| 721 | } |
| 722 | |
| 723 | void TLearnProgress::Save(IOutputStream* s) const { |
| 724 | CB_ENSURE_INTERNAL(IsFoldsAndApproxDataValid, "Attempt to save TLearnProgress data in inconsistent state"); |
no test coverage detected