can return nullptr if this feature is unavailable * (ignored or this data provider contains only subset of features) */
| 467 | * (ignored or this data provider contains only subset of features) |
| 468 | */ |
| 469 | TMaybeData<const TFloatValuesHolder*> GetFloatFeature(ui32 floatFeatureIdx) const { |
| 470 | return MakeMaybeData<const TFloatValuesHolder>(Data.FloatFeatures[floatFeatureIdx]); |
| 471 | } |
| 472 | |
| 473 | void SetFloatFeature(ui32 floatFeatureIdx, THolder<TFloatValuesHolder>&& newFeatureValues) { |
| 474 | Data.FloatFeatures[floatFeatureIdx] = std::move(newFeatureValues); |
no outgoing calls