2 writes to Type
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
4566Type = other.Type; 4624Type = (global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type) input.ReadEnum();
8 references to Type
Microsoft.ML.Tokenizers (8)
Model\SentencePieceTokenizer.cs (2)
51_vocab.Add(new StringSpanOrdinalKey(piece.Piece), (i, piece.Score, (byte)piece.Type)); 54if (piece.Type == ModelProto.Types.SentencePiece.Types.Type.Byte)
SentencepieceModel.cs (6)
4450if (Type != other.Type) return false; 4463if (HasType) hash ^= Type.GetHashCode(); 4520output.WriteEnum((int) Type); 4542size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); 4566Type = other.Type;