2 writes to BosId
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
2348BosId = other.BosId; 2725BosId = input.ReadInt32();
8 references to BosId
Microsoft.ML.Tokenizers (8)
Model\SentencePieceBpeTokenizer.cs (2)
64BeginningOfSentenceId = modelProto.TrainerSpec.BosId <= 0 ? 1 : modelProto.TrainerSpec.BosId;
SentencepieceModel.cs (6)
1645if (BosId != other.BosId) return false; 1701if (HasBosId) hash ^= BosId.GetHashCode(); 2035output.WriteInt32(BosId); 2203size += 2 + pb::CodedOutputStream.ComputeInt32Size(BosId); 2348BosId = other.BosId;