2 writes to Type
Microsoft.ML.Tokenizers (2)
SentencepieceModel.cs (2)
4566
Type
= other.Type;
4624
Type
= (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
));
54
if (piece.
Type
== ModelProto.Types.SentencePiece.Types.Type.Byte)
SentencepieceModel.cs (6)
4450
if (
Type
!= other.
Type
) return false;
4463
if (HasType) hash ^=
Type
.GetHashCode();
4520
output.WriteEnum((int)
Type
);
4542
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)
Type
);
4566
Type = other.
Type
;