4 references to ApproximatedMaxEncodedBytesCount
Microsoft.ML.Tokenizers (4)
Model\SentencePieceBaseModel.cs (4)
328
charPoolArray ??= ArrayPool<char>.Shared.Rent(Math.Max(len,
ApproximatedMaxEncodedBytesCount
>> 1));
350
bytesPoolArray ??= ArrayPool<byte>.Shared.Rent(
ApproximatedMaxEncodedBytesCount
);
674
charPoolArray ??= ArrayPool<char>.Shared.Rent(Math.Max(len,
ApproximatedMaxEncodedBytesCount
>> 1));
712
bytesPoolArray ??= ArrayPool<byte>.Shared.Rent(
ApproximatedMaxEncodedBytesCount
);