2 writes to UnkId
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
2345
UnkId
= other.UnkId;
2721
UnkId
= input.ReadInt32();
8 references to UnkId
Microsoft.ML.Tokenizers (8)
Model\SentencePieceTokenizer.cs (2)
68
UnknownId = modelProto.TrainerSpec.
UnkId
< 0 ? 0 : modelProto.TrainerSpec.
UnkId
;
SentencepieceModel.cs (6)
1644
if (
UnkId
!= other.
UnkId
) return false;
1700
if (HasUnkId) hash ^=
UnkId
.GetHashCode();
2031
output.WriteInt32(
UnkId
);
2200
size += 2 + pb::CodedOutputStream.ComputeInt32Size(
UnkId
);
2345
UnkId = other.
UnkId
;