1 write to _stringSymbolToIndexMapping
Microsoft.ML.Tokenizers (1)
Model\EnglishRobertaTokenizer.cs (1)
1115
_stringSymbolToIndexMapping
= new Dictionary<string, int>();
3 references to _stringSymbolToIndexMapping
Microsoft.ML.Tokenizers (3)
Model\EnglishRobertaTokenizer.cs (3)
1174
if (!
_stringSymbolToIndexMapping
.TryGetValue(symbol, out int idx))
1178
_stringSymbolToIndexMapping
[symbol] = idx;
1221
public bool Contains(string symbol) => symbol != null &&
_stringSymbolToIndexMapping
.ContainsKey(symbol);