15 references to ValueCase
Microsoft.ML.OnnxTransformer (15)
OnnxTypeParser.cs (11)
81
if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.TensorType)
94
else if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.SequenceType)
100
else if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.MapType)
224
var oneOfFieldName = typeProto.
ValueCase
.ToString();
225
if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.TensorType)
245
else if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.SequenceType)
251
else if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.MapType)
289
var oneOfFieldName = typeProto.
ValueCase
.ToString();
290
if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.TensorType)
332
else if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.SequenceType)
359
else if (typeProto.
ValueCase
== OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.MapType)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (4)
4340
switch (other.
ValueCase
)
4509
if (
ValueCase
!= other.
ValueCase
) return false;
4622
switch (other.
ValueCase
)