2 writes to BosPiece
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
2360BosPiece = other.BosPiece; 2745BosPiece = input.ReadString();
7 references to BosPiece
Microsoft.ML.Tokenizers (7)
Model\SentencePieceTokenizer.cs (1)
63BeginningOfSentenceToken = modelProto.TrainerSpec.BosPiece ?? "<s>";
SentencepieceModel.cs (6)
1649if (BosPiece != other.BosPiece) return false; 1705if (HasBosPiece) hash ^= BosPiece.GetHashCode(); 2055output.WriteString(BosPiece); 2215size += 2 + pb::CodedOutputStream.ComputeStringSize(BosPiece); 2360BosPiece = other.BosPiece;