3 instantiations of Merge
Microsoft.ML.Tokenizers (3)
18 references to Merge
Microsoft.ML.Tokenizers (18)
Model\BPETokenizer.cs (9)
332PriorityQueue<Merge>? priorityQueue = null;
381PriorityQueue<Merge>? priorityQueue = null;
436PriorityQueue<Merge>? priorityQueue = null;
513PriorityQueue<Merge>? priorityQueue = null;
561PriorityQueue<Merge>? priorityQueue = null;
864internal Word MergeWord(ReadOnlySpan<char> w, ref PriorityQueue<Merge>? priorityQueue)
981internal void EncodeWithCache(ReadOnlySpan<char> text, List<EncodedToken> tokens, int offset, ref PriorityQueue<Merge>? priorityQueue)
1055private int EncodeToIdsWithCache(ReadOnlySpan<char> text, List<int>? accumulatedIds, int maxTokens, out int charsConsumed, ref PriorityQueue<Merge>? priorityQueue)
1088internal int EncodeToIdsFromEndWithCache(ReadOnlySpan<char> text, IList<int>? accumulatedIds, int maxTokens, out int textIndex, ref PriorityQueue<Merge>? priorityQueue)