1 write to Left
Microsoft.ML.Tokenizers (1)
Model\SentencePieceBpeModel.cs (1)
1230
Left
= left;
17 references to Left
Microsoft.ML.Tokenizers (17)
Model\SentencePieceBpeModel.cs (17)
1164
if (symbols[top.
Left
].pieceSpan.Length == 0 || symbols[top.Right].pieceSpan.Length == 0 ||
1165
symbols[top.
Left
].pieceSpan.Length + symbols[top.Right].pieceSpan.Length != top.Length)
1171
symbols[top.
Left
].pieceSpan = (symbols[top.
Left
].pieceSpan.Index, symbols[top.
Left
].pieceSpan.Length + symbols[top.Right].pieceSpan.Length);
1172
symbols[top.
Left
].id = top.Id;
1175
symbols[top.
Left
].next = symbols[top.Right].next;
1179
symbols[symbols[top.Right].next].prev = top.
Left
;
1184
TryMerge(symbols[top.
Left
].prev, top.
Left
, text);
1185
TryMerge(top.
Left
, symbols[top.
Left
].next, text);
1244
return other.
Left
.CompareTo(
Left
);
1251
hashCode = (hashCode * 37) +
Left
.GetHashCode();
1255
public bool Equals(SymbolPair other) =>
Left
== other.
Left
&& Score == other.Score;