1 write to _mergeRanks
Microsoft.ML.Tokenizers (1)
Model\EnglishRobertaTokenizer.cs (1)
168_mergeRanks = GetMergeRanks(mergeStream);
2 references to _mergeRanks
Microsoft.ML.Tokenizers (2)
Model\EnglishRobertaTokenizer.cs (2)
989var (first, second) = pairs.ArgMin(pair => _mergeRanks.GetOrAdd(pair, int.MaxValue)); 990if (!_mergeRanks.TryGetValue((first, second), out int _))