4 writes to Len
Microsoft.ML.Tokenizers (4)
Model\Symbol.cs (2)
23
Len
= len;
32
Len
+= other.Len;
Model\Word.cs (2)
82
_symbols[i].
Len
= first.Len + second.Len;
151
_symbols[nextPos].
Len
= 0;
12 references to Len
Microsoft.ML.Tokenizers (12)
Model\Symbol.cs (1)
32
Len += other.
Len
;
Model\Word.cs (11)
82
_symbols[i].Len = first.
Len
+ second.
Len
;
132
if (_symbols.Count == 0 || _symbols[top.Pos].
Len
== 0 || _symbols[top.Pos].Next == -1)
190
if (_symbols[i].
Len
== 0)
214
charsConsumed += _symbols[i].
Len
;
229
textIndex -= _symbols[i].
Len
;
243
charsConsumed += _symbols[i].
Len
;
257
textIndex -= _symbols[i].
Len
;
298
int endIndex = index + _symbols[i].
Len
;
299
tokens.Add(new EncodedToken(_symbols[i].C, vocabReverse[_symbols[i].C], new Range(index + offset, index + offset + _symbols[i].
Len
)));
300
index += _symbols[i].
Len
;