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