15 references to SymbolsCount
Microsoft.ML.Tokenizers (15)
Model\BPETokenizer.cs (4)
1372
if (word.
SymbolsCount
<= maxTokens)
1380
return word.
SymbolsCount
;
1393
if (word.
SymbolsCount
<= maxTokens)
1401
return word.
SymbolsCount
;
Model\Word.cs (11)
199
for (int i = 0; i <
SymbolsCount
; i++)
209
int count = Math.Min(
SymbolsCount
, maxTokens);
224
int count = Math.Min(
SymbolsCount
, maxTokens);
226
for (int i =
SymbolsCount
- count; i <
SymbolsCount
; i++)
239
int count = Math.Min(
SymbolsCount
, maxTokens);
253
int count = Math.Min(
SymbolsCount
, maxTokens);
255
for (int i =
SymbolsCount
- count; i <
SymbolsCount
; i++)
298
for (int i = 0; i <
SymbolsCount
; i++)
307
for (int i = 0; i <
SymbolsCount
; i++)