1 write to Left
Microsoft.ML.Tokenizers (1)
Model\SentencePieceTokenizer.cs (1)
2269
Left
= left;
17 references to Left
Microsoft.ML.Tokenizers (17)
Model\SentencePieceTokenizer.cs (17)
2207
if (symbols[top.
Left
].pieceSpan.Length == 0 || symbols[top.Right].pieceSpan.Length == 0 ||
2208
symbols[top.
Left
].pieceSpan.Length + symbols[top.Right].pieceSpan.Length != top.Length)
2214
symbols[top.
Left
].pieceSpan = (symbols[top.
Left
].pieceSpan.Index, symbols[top.
Left
].pieceSpan.Length + symbols[top.Right].pieceSpan.Length);
2215
symbols[top.
Left
].id = top.Id;
2218
symbols[top.
Left
].next = symbols[top.Right].next;
2222
symbols[symbols[top.Right].next].prev = top.
Left
;
2227
TryMerge(symbols[top.
Left
].prev, top.
Left
, text);
2228
TryMerge(top.
Left
, symbols[top.
Left
].next, text);
2283
return other.
Left
.CompareTo(
Left
);
2290
hashCode = (hashCode * 37) +
Left
.GetHashCode();
2294
public bool Equals(SymbolPair other) =>
Left
== other.
Left
&& Score == other.Score;