| 204 | |
| 205 | |
| 206 | static ui32 CalcCoreModelCheckSum(const TFullModel& model) { |
| 207 | const auto& trees = *model.ModelTrees; |
| 208 | |
| 209 | return UpdateCheckSum( |
| 210 | ui32(0), |
| 211 | trees.GetDimensionsCount(), |
| 212 | trees.GetModelTreeData()->GetTreeSplits(), |
| 213 | trees.GetModelTreeData()->GetTreeSizes(), |
| 214 | trees.GetModelTreeData()->GetTreeStartOffsets(), |
| 215 | trees.GetModelTreeData()->GetNonSymmetricStepNodes(), |
| 216 | trees.GetModelTreeData()->GetNonSymmetricNodeIdToLeafId(), |
| 217 | trees.GetModelTreeData()->GetLeafValues(), |
| 218 | trees.GetCatFeatures(), |
| 219 | trees.GetFloatFeatures(), |
| 220 | trees.GetOneHotFeatures(), |
| 221 | trees.GetCtrFeatures() |
| 222 | ); |
| 223 | } |
| 224 | |
| 225 | |
| 226 | TLearnContext::TLearnContext( |
no test coverage detected