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