2 writes to ModelType
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
2255
ModelType
= other.ModelType;
2605
ModelType
= (global::Sentencepiece.TrainerSpec.Types.ModelType) input.ReadEnum();
7 references to ModelType
Microsoft.ML.Tokenizers (7)
Model\LlamaTokenizer.cs (1)
47
if (modelProto.TrainerSpec.
ModelType
!= TrainerSpec.Types.ModelType.Bpe)
SentencepieceModel.cs (6)
1612
if (
ModelType
!= other.
ModelType
) return false;
1668
if (HasModelType) hash ^=
ModelType
.GetHashCode();
1924
output.WriteEnum((int)
ModelType
);
2110
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)
ModelType
);
2255
ModelType = other.
ModelType
;