2 writes to RemoveExtraWhitespaces
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
3256
RemoveExtraWhitespaces
= other.RemoveExtraWhitespaces;
3336
RemoveExtraWhitespaces
= input.ReadBool();
7 references to RemoveExtraWhitespaces
Microsoft.ML.Tokenizers (7)
Model\LlamaTokenizer.cs (1)
58
modelProto.NormalizerSpec.
RemoveExtraWhitespaces
,
Model\SentencePieceTokenizer.cs (1)
76
_normalizer = new SentencePieceNormalizer(modelProto.NormalizerSpec.
RemoveExtraWhitespaces
, AddDummyPrefix, EscapeWhiteSpaces, modelProto.TrainerSpec.TreatWhitespaceAsSuffix, specialTokens);
SentencepieceModel.cs (5)
3099
if (
RemoveExtraWhitespaces
!= other.
RemoveExtraWhitespaces
) return false;
3115
if (HasRemoveExtraWhitespaces) hash ^=
RemoveExtraWhitespaces
.GetHashCode();
3190
output.WriteBool(
RemoveExtraWhitespaces
);
3256
RemoveExtraWhitespaces = other.
RemoveExtraWhitespaces
;