1 write to Left
Microsoft.ML.Tokenizers (1)
Model\SentencePieceBpeModel.cs (1)
1276Left = left;
17 references to Left
Microsoft.ML.Tokenizers (17)
Model\SentencePieceBpeModel.cs (17)
1210if (symbols[top.Left].pieceSpan.Length == 0 || symbols[top.Right].pieceSpan.Length == 0 || 1211symbols[top.Left].pieceSpan.Length + symbols[top.Right].pieceSpan.Length != top.Length) 1217symbols[top.Left].pieceSpan = (symbols[top.Left].pieceSpan.Index, symbols[top.Left].pieceSpan.Length + symbols[top.Right].pieceSpan.Length); 1218symbols[top.Left].id = top.Id; 1221symbols[top.Left].next = symbols[top.Right].next; 1225symbols[symbols[top.Right].next].prev = top.Left; 1230TryMerge(symbols[top.Left].prev, top.Left, text); 1231TryMerge(top.Left, symbols[top.Left].next, text); 1290return other.Left.CompareTo(Left); 1297hashCode = (hashCode * 37) + Left.GetHashCode(); 1301public bool Equals(SymbolPair other) => Left == other.Left && Score == other.Score;