16 references to Count
Microsoft.ML.Tokenizers (16)
Model\BPETokenizer.cs (1)
268
for (int i = 0; i < merges.
Count
; i++)
Model\Word.cs (15)
30
public int SymbolsCount => _symbols.
Count
;
37
int len = _symbols.
Count
;
56
if (i >= _symbols.
Count
)
62
if (_symbols[i].C == c1 && i + 1 < _symbols.
Count
&& _symbols[i + 1].C == c2)
87
if (i < _symbols.
Count
- 1)
102
priorityQueue ??= new PriorityQueue<Merge>(_symbols.
Count
);
107
for (int i = 0; i < _symbols.
Count
- 1; i++)
125
for (int i = 0; i < skip.
Count
; i++)
132
if (_symbols.
Count
== 0 || _symbols[top.Pos].Len == 0 || _symbols[top.Pos].Next == -1)
154
if (right.Next > -1 && right.Next < _symbols.
Count
)
175
if ((uint)next < (uint)_symbols.
Count
)
188
for (int i = _symbols.
Count
- 1; i >= 0; i--)
266
for (int i = 0; i < _symbols.
Count
; i++)
276
if (_symbols.
Count
== 0)
284
for (int i = 1; i < _symbols.
Count
; i++)