8 references to Create
Microsoft.ML.Tokenizers (8)
Model\Word.cs (8)
70changes.Push((Pair<int>.Create(_symbols[i - 1].C, first.C), -1)); 71changes.Push((Pair<int>.Create(_symbols[i - 1].C, replacement), 1)); 89changes.Push((Pair<int>.Create(second.C, _symbols[i + 1].C), -1)); 90changes.Push((Pair<int>.Create(replacement, _symbols[i + 1].C), 1)); 109if (merges.TryGetValue(Pair<int>.Create(_symbols[i].C, _symbols[i + 1].C), out (int m1, int m2) value)) 141Pair<int> targetNewPair = Pair<int>.Create(_symbols[top.Pos].C, right.C); 165Pair<int> newPair = Pair<int>.Create(prevSymbol.C, current.C); 178Pair<int> newPair = Pair<int>.Create(current.C, nextSymbol.C);