8 references to Push
Microsoft.ML.Tokenizers (8)
Model\BPETokenizer.cs (1)
843
merges.
Push
((line.Substring(0, index), line.Substring(index + 1)));
Model\Word.cs (7)
46
_symbols.
Push
(new Symbol(c, prev, next, charLength));
70
changes.
Push
((Pair<int>.Create(_symbols[i - 1].C, first.C), -1));
71
changes.
Push
((Pair<int>.Create(_symbols[i - 1].C, replacement), 1));
89
changes.
Push
((Pair<int>.Create(second.C, _symbols[i + 1].C), -1));
90
changes.
Push
((Pair<int>.Create(replacement, _symbols[i + 1].C), 1));
120
skip.
Push
(top);
268
chars.
Push
(_symbols[i].C);