| 2142 | } |
| 2143 | |
| 2144 | static void AddIgnoredFeatures(const TFeaturesLayout& addFromLayout, TFeaturesLayout* updatedLayout) { |
| 2145 | auto featuresIntersectionSize = Min( |
| 2146 | addFromLayout.GetExternalFeatureCount(), |
| 2147 | updatedLayout->GetExternalFeatureCount() |
| 2148 | ); |
| 2149 | |
| 2150 | for (auto i : xrange(featuresIntersectionSize)) { |
| 2151 | if (addFromLayout.GetExternalFeaturesMetaInfo()[i].IsIgnored) { |
| 2152 | updatedLayout->IgnoreExternalFeature(i); |
| 2153 | } |
| 2154 | } |
| 2155 | } |
| 2156 | |
| 2157 | |
| 2158 | static TFeaturesLayoutPtr InitFeaturesLayoutForQuantizedData( |
no test coverage detected