| 335 | } |
| 336 | |
| 337 | ui32 TFeaturesLayout::GetTextFeatureCount() const noexcept { |
| 338 | // cast is safe because of size invariant established in constructors |
| 339 | return (ui32)TextFeatureInternalIdxToExternalIdx.size(); |
| 340 | } |
| 341 | |
| 342 | ui32 TFeaturesLayout::GetEmbeddingFeatureCount() const noexcept { |
| 343 | // cast is safe because of size invariant established in constructors |