23 references to Types
Microsoft.ML.Tokenizers (23)
Model\SentencePieceTokenizer.cs (10)
54if (piece.Type == ModelProto.Types.SentencePiece.Types.Type.Byte) 345if (type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused) 433if (id.Type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused || 694if (type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused) 809if (id.Type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused || 1018if (type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused) 1124if (id.Type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused || 1398if (type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused) 1504if (id.Type != (byte)ModelProto.Types.SentencePiece.Types.Type.Unused || 2251if (leftId.Type == (byte)ModelProto.Types.SentencePiece.Types.Type.Unused)
SentencepieceModel.cs (13)
104new pbr::GeneratedClrTypeInfo(typeof(global::Sentencepiece.ModelProto), global::Sentencepiece.ModelProto.Parser, new[]{ "Pieces", "TrainerSpec", "NormalizerSpec", "SelfTestData", "DenormalizerSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Sentencepiece.ModelProto.Types.SentencePiece), global::Sentencepiece.ModelProto.Types.SentencePiece.Parser, new[]{ "Piece", "Score", "Type" }, null, new[]{ typeof(global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type) }, null, null)}) 3926private static readonly pb::FieldCodec<global::Sentencepiece.ModelProto.Types.SentencePiece> _repeated_pieces_codec 3927= pb::FieldCodec.ForMessage(10, global::Sentencepiece.ModelProto.Types.SentencePiece.Parser); 3928private readonly pbc::RepeatedField<global::Sentencepiece.ModelProto.Types.SentencePiece> pieces_ = new pbc::RepeatedField<global::Sentencepiece.ModelProto.Types.SentencePiece>(); 3934public pbc::RepeatedField<global::Sentencepiece.ModelProto.Types.SentencePiece> Pieces { 4408private readonly static global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type TypeDefaultValue = global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type.Normal; 4410private global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type type_; 4413public global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type Type { 4624Type = (global::Sentencepiece.ModelProto.Types.SentencePiece.Types.Type) input.ReadEnum();