2 writes to UnkPiece
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
2357
UnkPiece
= other.UnkPiece;
2741
UnkPiece
= input.ReadString();
7 references to UnkPiece
Microsoft.ML.Tokenizers (7)
Model\SentencePieceTokenizer.cs (1)
67
UnknownToken = modelProto.TrainerSpec.
UnkPiece
?? "<unk>";
SentencepieceModel.cs (6)
1648
if (
UnkPiece
!= other.
UnkPiece
) return false;
1704
if (HasUnkPiece) hash ^=
UnkPiece
.GetHashCode();
2051
output.WriteString(
UnkPiece
);
2212
size += 2 + pb::CodedOutputStream.ComputeStringSize(
UnkPiece
);
2357
UnkPiece = other.
UnkPiece
;