1 write to _vocabReverse
Microsoft.ML.Tokenizers (1)
Model\WordPieceTokenizer.cs (1)
48
_vocabReverse
= vocabReverse!;
4 references to _vocabReverse
Microsoft.ML.Tokenizers (4)
Model\WordPieceTokenizer.cs (4)
406
Debug.Assert(
_vocabReverse
.ContainsKey(id));
407
curToken = new EncodedToken(id,
_vocabReverse
[id], new Range(offset + start, offset + end));
747
if (
_vocabReverse
.TryGetValue(id, out string? token))
806
if (
_vocabReverse
.TryGetValue(id, out string? token))