| 296 | } |
| 297 | |
| 298 | static void CheckGroupWeights(const TWeights<float>& groupWeights, const TObjectsGrouping& objectsGrouping) { |
| 299 | if (groupWeights.IsTrivial()) { |
| 300 | CheckDataSize(groupWeights.GetSize(), objectsGrouping.GetObjectCount(), "GroupWeights"); |
| 301 | } else { |
| 302 | CheckGroupWeights(groupWeights.GetNonTrivialData(), objectsGrouping); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | |
| 307 | bool EqualAsFloatTarget(const ITypedSequencePtr<float>& lhs, const TVector<TString>& rhs) { |
no test coverage detected