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