42 references to Types
Microsoft.ML.OnnxTransformer (42)
OnnxTypeParser.cs (26)
28var dataType = (OnnxCSharpToProtoWrapper.TensorProto.Types.DataType)elementType; 32case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Bool: 35case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int8: 38case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint8: 41case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int16: 44case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint16: 47case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int32: 50case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint32: 53case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int64: 56case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint64: 59case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Double: 62case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Float: 65case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.String: 116var dataType = (OnnxCSharpToProtoWrapper.TensorProto.Types.DataType)elementType; 120case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Bool: 123case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int8: 126case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint8: 129case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int16: 132case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint16: 135case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int32: 138case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint32: 141case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Int64: 144case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Uint64: 147case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Float: 150case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.Double: 153case OnnxCSharpToProtoWrapper.TensorProto.Types.DataType.String:
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (16)
120new pbr::GeneratedClrTypeInfo(typeof(global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto), global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Parser, new[]{ "Dims", "DataType", "Segment", "FloatData", "Int32Data", "StringData", "Int64Data", "Name", "DocString", "RawData", "ExternalData", "DataLocation", "DoubleData", "Uint64Data" }, null, new[]{ typeof(global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataType), typeof(global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.Segment), global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.Segment.Parser, new[]{ "Begin", "End" }, null, null, null, null)}), 2831private global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.Segment segment_; 2833public global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.Segment Segment 2999private global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation dataLocation_ = global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation.Default; 3004public global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation DataLocation 3098if (DataLocation != global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation.Default) hash ^= DataLocation.GetHashCode(); 3150if (DataLocation != global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation.Default) 3191if (DataLocation != global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation.Default) 3220Segment = new global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.Segment(); 3241if (other.DataLocation != global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation.Default) 3276Segment = new global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.Segment(); 3338DataLocation = (global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorProto.Types.DataLocation)input.ReadEnum();