2 writes to Piece
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
4560
Piece
= other.Piece;
4616
Piece
= input.ReadString();
8 references to Piece
Microsoft.ML.Tokenizers (8)
Model\SentencePieceTokenizer.cs (2)
51
_vocab.Add(new StringSpanOrdinalKey(piece.
Piece
), (i, piece.Score, (byte)piece.Type));
52
_vocabReverse.Add(i, piece.
Piece
);
SentencepieceModel.cs (6)
4448
if (
Piece
!= other.
Piece
) return false;
4461
if (HasPiece) hash ^=
Piece
.GetHashCode();
4512
output.WriteString(
Piece
);
4536
size += 1 + pb::CodedOutputStream.ComputeStringSize(
Piece
);
4560
Piece = other.
Piece
;